Méthode ReadOnlyList<T>.CopyTo
Copies the elements of the list to an array, starting at a particular array index.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
array As T(), _
arrayIndex As Integer _
)
'Utilisation
Dim instance As ReadOnlyList
Dim array As T()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
T[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<T>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array:'T[] *
arrayIndex:int -> unit
override CopyTo :
array:'T[] *
arrayIndex:int -> unit
public final function CopyTo(
array : T[],
arrayIndex : int
)
Paramètres
- array
Type : array<T[]
The one-dimensional array that is the destination of the elements copied from a list.
- arrayIndex
Type : System.Int32
The zero-based index in an array at which copying begins.
Implémente
IReadOnlyCollection<T>.CopyTo(array<T[], Int32)