Share via


AdoDotNetConnectionProperties.ICollection<KeyValuePair<String, Object>>.ICollection, méthode

Ajoute une nouvelle propriété à la collection actuelle de propriétés de connexion. Déclenche l'événement PropertyChanged.

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

Syntaxe

'Déclaration
Private Sub Add ( _
    item As KeyValuePair(Of String, Object) _
) Implements ICollection(Of KeyValuePair(Of String, Object)).Add
void ICollection<KeyValuePair<string, Object>>.Add(
    KeyValuePair<string, Object> item
)
private:
virtual void Add(
    KeyValuePair<String^, Object^> item
) sealed = ICollection<KeyValuePair<String^, Object^>>::Add
private abstract Add : 
        item:KeyValuePair<string, Object> -> unit  
private override Add : 
        item:KeyValuePair<string, Object> -> unit
JScript ne prend pas en charge les implémentations d'interfaces explicites.

Paramètres

  • item
    Type : KeyValuePair<String, Object>

    Propriété à ajouter.

Implémentations

ICollection.Add(UTP)

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionProperties Classe

Microsoft.VisualStudio.Data.Framework.AdoDotNet, espace de noms