Condividi tramite


Metodo ReadOnlyObservableSet<T>.Contains (T)

Determines whether an element is in the ReadOnlyObservableSet<T>.

Spazio dei nomi:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

'Dichiarazione
Public Function Contains ( _
    item As T _
) As Boolean
public bool Contains(
    T item
)

Parametri

  • item
    Tipo: T
    The object to locate in the ReadOnlyObservableSet(T).

Valore restituito

Tipo: System.Boolean
true if item is found in the ReadOnlyObservableSet(T), otherwise false.

Implementa

IReadOnlyObservableSet<T>.Contains(T)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ReadOnlyObservableSet<T> Classe

Overload Contains

Spazio dei nomi Microsoft.VisualStudio.Shell