Condividi tramite


Metodo AdoDotNetConnectionProperties.ICollection<KeyValuePair<String, Object>>.ICollection

Aggiunge una nuova proprietà alle proprietà di connessione corrente della raccolta. Genera l'evento PropertyChanged.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Sintassi

'Dichiarazione
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 non supporta le implementazioni esplicite dell'interfaccia.

Parametri

  • item
    Tipo: KeyValuePair<String, Object>

    Proprietà da aggiungere.

Implementa

ICollection.Add(UTP)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AdoDotNetConnectionProperties Classe

Spazio dei nomi Microsoft.VisualStudio.Data.Framework.AdoDotNet