Udostępnij za pośrednictwem


Metoda IReadOnlyObservableSet<T>.Contains — (T)

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

Przestrzeń nazw:  Microsoft.VisualStudio.Shell
Zestaw:  Microsoft.VisualStudio.Shell.Immutable.11.0 (w Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Składnia

'Deklaracja
Function Contains ( _
    item As T _
) As Boolean
bool Contains(
    T item
)

Parametry

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

Wartość zwracana

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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IReadOnlyObservableSet<T> Interfejs

Przeciążenie Contains

Przestrzeń nazw Microsoft.VisualStudio.Shell