SfcReferenceCollection<K, T, S>.CopyTo メソッド

指定された配列にこのコレクションの要素をコピーします。その際、指定されたインデックスの位置からコピーを開始します。

名前空間:  Microsoft.SqlServer.Management.Sdk.Sfc
アセンブリ:  Microsoft.SqlServer.Management.Sdk.Sfc (Microsoft.SqlServer.Management.Sdk.Sfc.dll)

構文

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

パラメーター

  • array
    型: array<T[]
    コレクションの要素のコピー先である、0 から始まるインデックスを持つ 1 次元配列です。
  • arrayIndex
    型: System.Int32
    array 内のコピーの開始位置である、0 から始まるインデックスです。

実装

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

関連項目

参照

SfcReferenceCollection<K, T, S> クラス

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