CopyTo 方法

将集合对象复制到以指定索引值开头的一维数组。

命名空间:  Microsoft.SqlServer.Management.Smo.Broker
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub CopyTo ( _
    array As ServiceQueue(), _
    index As Integer _
)
用法
Dim instance As ServiceQueueCollection
Dim array As ServiceQueue()
Dim index As Integer

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

参数

示例

使用集合