Dela via


SfcCollatedDictionaryCollection<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 Overrides Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As SfcCollatedDictionaryCollection
Dim array As T()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public override void CopyTo(
    T[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<T>^ array, 
    int arrayIndex
) override
abstract CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit 
override CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit 
public override 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)