Partager via


AdoDotNetConnectionProperties.ICollection<KeyValuePair<String, Object>>.Add, 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

Implémentations

ICollection<T>.Add(T)

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionProperties Classe

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