Udostępnij za pośrednictwem


Metoda IReadOnlyObservableSet.Contains —

Determines whether the IReadOnlyObservableSet 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 Object _
) As Boolean
bool Contains(
    Object item
)

Parametry

  • item
    Typ: System.Object
    The object to locate in the IReadOnlyObservableSet.

Wartość zwracana

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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IReadOnlyObservableSet Interfejs

Przestrzeń nazw Microsoft.VisualStudio.Shell