Share via


IReadOnlyObservableSet<T>.Contains, méthode (T)

Determines whether the IReadOnlyObservableSet<T> contains a specific value.

Espace de noms :  Microsoft.VisualStudio.Shell
Assembly :  Microsoft.VisualStudio.Shell.Immutable.11.0 (dans Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntaxe

'Déclaration
Function Contains ( _
    item As T _
) As Boolean
bool Contains(
    T item
)

Paramètres

  • item
    Type : T
    The object to locate in the set.

Valeur de retour

Type : System.Boolean
true if the object is found in the set, otherwise false.

Sécurité .NET Framework

Voir aussi

Référence

IReadOnlyObservableSet<T> Interface

Contains, surcharge

Microsoft.VisualStudio.Shell, espace de noms