次の方法で共有


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:
 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.

Implements

Applies to