ReadOnlyObservableSet<T>.Contains Method
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.
Contains(Object) |
Determines whether an element is in the ReadOnlyObservableSet<T>. |
Contains(T) |
Determines whether an element is in the ReadOnlyObservableSet<T>. |
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
Visual Studio SDK 2022 和其他版本
产品 | 版本 |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |
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.
Implements
Applies to
Visual Studio SDK 2022 和其他版本
产品 | 版本 |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |