Skip to content

953d74be 70d0 385c e21d ab71991e68b9

Fernando Garcia edited this page May 8, 2018 · 1 revision

BaseSimpleModelCollection(TItem, TParent).CopyTo Method

Additional header content

Copies the entire BaseSimpleModelCollection(TItem, TParent) to a compatible one-dimensional array, starting at the specified index of the target array.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public void CopyTo(
	TItem[] array,
	int arrayIndex
)

VB

Public Sub CopyTo ( 
	array As TItem(),
	arrayIndex As Integer
)

Parameters

 

array
Type: TItem[]
The one-dimensional Array that is the destination of the elements copied from BaseSimpleModelCollection(TItem, TParent). The Array must have zero-based indexing.
arrayIndex
Type: System.Int32
The zero-based index in array at which copying begins.

Implements

ICollection(T).CopyTo(T[], Int32)

Exceptions

 

Exception Condition
ArgumentNullException array is null.
ArgumentOutOfRangeException arrayIndex is less than 0.
ArgumentException The number of elements in the source BaseSimpleModelCollection(TItem, TParent) is greater than the available space from arrayIndex to the end of the destination array.

Remarks

[Missing documentation for "M:iTin.Export.Model.BaseSimpleModelCollection2.CopyTo(0[],System.Int32)"]

See Also

Reference

BaseSimpleModelCollection(TItem, TParent) Class
iTin.Export.Model Namespace

Clone this wiki locally