Share via


DataConnectionProperties.CopyTo, méthode

Copie le jeu actuel des propriétés de connexion et leurs valeurs au tableau spécifié, en commençant à l'index spécifié de tableau.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Public Sub CopyTo ( _
    array As KeyValuePair(Of String, Object)(), _
    arrayIndex As Integer _
)
public void CopyTo(
    KeyValuePair<string, Object>[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<KeyValuePair<String^, Object^>>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:KeyValuePair<string, Object>[] * 
        arrayIndex:int -> unit  
override CopyTo : 
        array:KeyValuePair<string, Object>[] * 
        arrayIndex:int -> unit
public final function CopyTo(
    array : KeyValuePair<String, Object>[], 
    arrayIndex : int
)

Paramètres

  • array
    Type : array<KeyValuePair<String, Object>[]

    Tableau dans lequel les paires clé/valeur de propriété de connexion sont copiées.

  • arrayIndex
    Type : Int32

    Index du tableau auquel la copie doit commencer.

Implémentations

ICollection.CopyTo(UTP, Int32)

Sécurité .NET Framework

Voir aussi

Référence

DataConnectionProperties Classe

Microsoft.VisualStudio.Data.Framework, espace de noms