Compartir a través de


ReadOnlyObservableSet<T>.Contains Method (Object)

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 Object _
) As Boolean
public bool Contains(
    Object item
)
public:
virtual bool Contains(
    Object^ item
) sealed
abstract Contains : 
        item:Object -> bool  
override Contains : 
        item:Object -> bool
public final function Contains(
    item : Object
) : boolean

Parameters

  • item
    Type: Object

    The object to locate in the ReadOnlyObservableSet(T).

Return Value

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

Implements

IReadOnlyObservableSet.Contains(Object)

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Contains Overload

Microsoft.VisualStudio.Shell Namespace