Dela via


SfcCollection<T, K, ParentT>.CopyTo Method (array<T , Int32)

Copies the elements from the collection to the specified array, starting at the specified array index. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public MustOverride Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As SfcCollection 
Dim array As T()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public abstract void CopyTo(
    T[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<T>^ array, 
    int arrayIndex
) abstract
abstract CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit
public abstract function CopyTo(
    array : T[], 
    arrayIndex : int
)

Parameters

  • array
    Type: array<T[]
    The array to copy to.
  • arrayIndex
    Type: System.Int32
    The zero-based index in the array to begin copying.

Implements

ICollection<T>.CopyTo(array<T[], Int32)

See Also

Reference

SfcCollection<T, K, ParentT> Class

CopyTo Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace