Méthode DependencyCollection.CopyTo
Copies the collection objects to a one-dimensional array beginning at the index value specified.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
array As DependencyCollectionNode(), _
arrayIndex As Integer _
)
'Utilisation
Dim instance As DependencyCollection
Dim array As DependencyCollectionNode()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
DependencyCollectionNode[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<DependencyCollectionNode^>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array:DependencyCollectionNode[] *
arrayIndex:int -> unit
override CopyTo :
array:DependencyCollectionNode[] *
arrayIndex:int -> unit
public final function CopyTo(
array : DependencyCollectionNode[],
arrayIndex : int
)
Paramètres
- array
Type : array<Microsoft.SqlServer.Management.Smo.DependencyCollectionNode[]
An array of DependencyCollectionNode objects.
- arrayIndex
Type : System.Int32
An Int32 value that specifies the index position to start the copy.
Implémente
ICollection<T>.CopyTo(array<T[], Int32)