CopyTo メソッド

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

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

構文

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

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

パラメーター