BrokerPriorityCollection.CopyTo メソッド

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

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

構文

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

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

パラメーター

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

使用例

コレクションの使用

関連項目

参照

BrokerPriorityCollection クラス

Microsoft.SqlServer.Management.Smo.Broker 名前空間