IReadOnlyObservableSet<T>.Contains Method (T)

Determines whether the IReadOnlyObservableSet<T> 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 T _
) As Boolean
bool Contains(
    T item
)
bool Contains(
    T item
)
abstract Contains : 
        item:'T -> bool
function Contains(
    item : T
) : boolean

Parameters

  • item
    Type: T

    The object to locate in the set.

Return Value

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

.NET Framework Security

See Also

Reference

IReadOnlyObservableSet<T> Interface

Contains Overload

Microsoft.VisualStudio.Shell Namespace