共用方式為


SfcCollection<T, K, ParentT>.CopyTo 方法 (array<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 MustOverride Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'用途
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
)

參數

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

實作

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

請參閱

參考

SfcCollection<T, K, ParentT> 類別

CopyTo 多載

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間