次の方法で共有


CheckCollection.CopyTo メソッド

1 次元の配列にオブジェクトのコレクションをコピーします。その際、指定したインデックス値からコピーを開始します。

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

構文

'宣言
Public Sub CopyTo ( _
    array As Check(), _
    index As Integer _
)
'使用
Dim instance As CheckCollection 
Dim array As Check()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Check[] array,
    int index
)
public:
void CopyTo(
    array<Check^>^ array, 
    int index
)
member CopyTo : 
        array:Check[] * 
        index:int -> unit
public function CopyTo(
    array : Check[], 
    index : int
)

パラメーター

  • index
    型: System.Int32
    コレクション内のコピーを開始するインデックス値を示す Int32 値です。

使用例

コレクションの使用

関連項目

参照

CheckCollection クラス

Microsoft.SqlServer.Management.Smo 名前空間