مشاركة عبر


UrnCollection.CopyTo Method

Copies members of the collection to an array, starting at the specified index of the array.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Urn(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As UrnCollection 
Dim array As Urn()
Dim arrayIndex As Integer

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

Parameters

Implements

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

Examples

Using Collections

See Also

Reference

UrnCollection Class

Microsoft.SqlServer.Management.Smo Namespace