共用方式為


IReadOnlyObservableSet.Contains(Object) Method

Definition

Determines whether the IReadOnlyObservableSet contains a specific value.

public:
 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
Public Function Contains (item As Object) As Boolean

Parameters

item
Object

The object to locate in the IReadOnlyObservableSet.

Returns

true if the object is found in the IReadOnlyObservableSet, otherwise false.

Applies to