共用方式為


CopyTo 方法 (T[], Int32)

Copies the elements from the collection to the specified array, starting at the specified array index. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Overrides Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'用途
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
)

參數

  • array
    型別:array<T> [] () [] []
    The array to copy to.

實作

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