Udostępnij za pośrednictwem


SmoCollectionBase.System.Collections.ICollection.CopyTo Method

Copies the elements from an instance to an array beginning at the index indicated.

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

Syntax

'Deklaracja
Private Sub System.Collections.ICollection.CopyTo ( _
    array As Array, _
    index As Integer _
) Implements ICollection.CopyTo
void ICollection.CopyTo (
    Array array,
    int index
)
private:
virtual void System.Collections.ICollection.CopyTo (
    Array^ array, 
    int index
) sealed = ICollection::CopyTo
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • array
    T.System.Array specifying the array to be copied to.
  • index
    Int32 specifying the starting array index where the collection will be copied.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.