다음을 통해 공유


CopyTo 메서드

Copies the collection to an array.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
‘사용 방법
Dim instance As ReplicationBaseCollection
Dim array As Array
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
abstract CopyTo : 
        array:Array * 
        index:int -> unit 
override CopyTo : 
        array:Array * 
        index:int -> unit 
public final function CopyTo(
    array : Array, 
    index : int
)

매개 변수

  • index
    유형: System. . :: . .Int32
    An Int32 value that specifies the index position within the original collection to start copying.

구현

ICollection. . :: . .CopyTo(Array, Int32)

주의

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.