Partager via


CopyTo méthode

Copies the collection objects to a one-dimensional array starting at the index value specified.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub CopyTo ( _
    array As UserDefinedTableType(), _
    index As Integer _
)
'Utilisation
Dim instance As UserDefinedTableTypeCollection
Dim array As UserDefinedTableType()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    UserDefinedTableType[] array,
    int index
)
public:
void CopyTo(
    array<UserDefinedTableType^>^ array, 
    int index
)
member CopyTo : 
        array:UserDefinedTableType[] * 
        index:int -> unit 
public function CopyTo(
    array : UserDefinedTableType[], 
    index : int
)

Paramètres