IReadOnlyObservableSet.Contains Method
Determines whether the IReadOnlyObservableSet contains a specific value.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'Declaration
Function Contains ( _
item As Object _
) As Boolean
bool Contains(
Object item
)
bool Contains(
Object^ item
)
abstract Contains :
item:Object -> bool
function Contains(
item : Object
) : boolean
Parameters
item
Type: System.ObjectThe object to locate in the IReadOnlyObservableSet.
Return Value
Type: System.Boolean
true if the object is found in the IReadOnlyObservableSet, otherwise false.
.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.