SfcReferenceCollection<K, T, S>.CopyTo Method
Copies the elements of this collection to the specified array, starting at specified index.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As T(), _
arrayIndex As Integer _
)
'Usage
Dim instance As SfcReferenceCollection
Dim array As T()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
T[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<T>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array:'T[] *
arrayIndex:int -> unit
override CopyTo :
array:'T[] *
arrayIndex:int -> unit
public final function CopyTo(
array : T[],
arrayIndex : int
)
Parameters
- array
Type: array<T[]
The zero-based index, one-dimensional array that is the destination of the elements copied from the collection.
- arrayIndex
Type: System.Int32
The zero-based index in array at which copying begins.
Implements
IReadOnlyCollection<T>.CopyTo(array<T[], Int32)