次の方法で共有


PropertyCollection.CopyTo メソッド

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

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

構文

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

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

パラメーター

  • index
    型: System.Int32
    コピーを開始するインデックス位置を示す Int32 値です。

使用例

コレクションの使用

関連項目

参照

PropertyCollection クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

コレクションの使用