次の方法で共有


CopyTo メソッド

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

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

構文

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

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

パラメーター