UrnCollection.CopyTo Method (Urn , Int32)

 

Applies To: SQL Server 2016 Preview

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

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 Sub CopyTo (
    array As Urn(),
    arrayIndex As Integer
)

Parameters

  • arrayIndex
    Type: System.Int32

    The index in array at which copying begins.

Implements

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

Examples

Legacy Code Example

Using Collections

See Also

UrnCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top