Share via


AdoDotNetConnectionProperties.IDictionary.Item, propriété

Extrait un élément, ou l'élément, à la clé spécifiée de l'instance actuelle d'IDictionary.

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

Syntaxe

'Déclaration
Private Property Item ( _
    key As Object _
) As Object Implements IDictionary.Item
Object IDictionary.this[
    Object key
] { get; set; }
private:
virtual property Object^ Item[Object^ key] {
    Object^ get (Object^ key) sealed = IDictionary::Item::get;
    void set (Object^ key, Object^ value) sealed = IDictionary::Item::set;
}
private abstract Item : 
        key:Object -> Object with get, set 
private override Item : 
        key:Object -> Object with get, set
JScript ne prend pas en charge les implémentations d'interfaces explicites.

Paramètres

  • key
    Type : Object

    La clé sur laquelle pour localiser un élément.

Valeur de propriété

Type : Object
Retourne l'élément avec la clé spécifiée.

Implémentations

IDictionary.Item

Notes

Cette méthode fournit une implémentation de la propriété Item. Pour plus d'informations consultez la propriété Item dans la bibliothèque de classes d'.NET Framework.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionProperties Classe

Microsoft.VisualStudio.Data.AdoDotNet, espace de noms