CopyTo 方法

Copies the collection objects to a one-dimensional array beginning at the index value specified.

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

语法

声明
Public Sub CopyTo ( _
    array As DependencyCollectionNode(), _
    arrayIndex As Integer _
)
用法
Dim instance As DependencyCollection
Dim array As DependencyCollectionNode()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public void CopyTo(
    DependencyCollectionNode[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<DependencyCollectionNode^>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:DependencyCollectionNode[] * 
        arrayIndex:int -> unit 
override CopyTo : 
        array:DependencyCollectionNode[] * 
        arrayIndex:int -> unit 
public final function CopyTo(
    array : DependencyCollectionNode[], 
    arrayIndex : int
)

参数

实现

ICollection< (Of < ( <'T> ) > ) >. . :: . .CopyTo(array<T> [] () [] [], Int32)

示例

脚本撰写