ReadOnlyObservableSet<T>.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Contains(Object) |
Determines whether an element is in the ReadOnlyObservableSet<T>. |
Contains(T) |
Determines whether an element is in the ReadOnlyObservableSet<T>. |
Contains(Object)
Determines whether an element is in the ReadOnlyObservableSet<T>.
public:
virtual bool Contains(System::Object ^ item);
public:
bool Contains(Platform::Object ^ item);
bool Contains(winrt::Windows::Foundation::IInspectable const & item);
public bool Contains (object item);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (item As Object) As Boolean
Parameters
- item
- Object
The object to locate in the ReadOnlyObservableSet<T>.
Returns
true if item is found in the ReadOnlyObservableSet<T>; otherwise, false.
Implements
Applies to
Contains(T)
Determines whether an element is in the ReadOnlyObservableSet<T>.
public:
virtual bool Contains(T item);
public:
bool Contains(T item);
bool Contains(T item);
public bool Contains (T item);
abstract member Contains : 'T -> bool
override this.Contains : 'T -> bool
Public Function Contains (item As T) As Boolean
Parameters
- item
- T
The object to locate in the ReadOnlyObservableSet<T>.
Returns
true if item is found in the ReadOnlyObservableSet<T>; otherwise, false.