ReadOnlyObservableSet<T>.Contains Method

Definition

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:
 bool Contains(Platform::Object ^ item);

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

Contains(T)

Determines whether an element is in the ReadOnlyObservableSet<T>.

public:
 bool Contains(T item);

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