ReadOnlyObservableSet<T>.Contains Method (T)
Determines whether an element is in the ReadOnlyObservableSet<T>.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Function Contains ( _
item As T _
) As Boolean
public bool Contains(
T item
)
public:
virtual bool Contains(
T item
) sealed
abstract Contains :
item:'T -> bool
override Contains :
item:'T -> bool
public final function Contains(
item : T
) : boolean
Parameters
item
Type: TThe object to locate in the ReadOnlyObservableSet(T).
Return Value
Type: Boolean
true if item is found in the ReadOnlyObservableSet(T), otherwise false.
Implements
IReadOnlyObservableSet<T>.Contains(T)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.