Freigeben über


ReplicationBaseCollection.CopyTo-Methode

Copies the collection to an array.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Usage
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
)

Parameter

  • array
    Typ: System.Array
    An Array object that is to receive the copy of the original collection.
  • index
    Typ: System.Int32
    An Int32 value that specifies the index position within the original collection to start copying.

Implementiert

ICollection.CopyTo(Array, Int32)

Hinweise

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

Siehe auch

Verweis

ReplicationBaseCollection Klasse

Microsoft.SqlServer.Replication-Namespace