편집

다음을 통해 공유


ModelItemCollection.Contains Method

Definition

Determines whether the ModelItemCollection contains the specified element.

Overloads

Contains(ModelItem)

Determines whether the ModelItemCollection contains the specified element.

Contains(Object)

Determines whether the ModelItemCollection contains the specified element.

Contains(ModelItem)

Determines whether the ModelItemCollection contains the specified element.

public:
 abstract bool Contains(System::Activities::Presentation::Model::ModelItem ^ item);
public abstract bool Contains (System.Activities.Presentation.Model.ModelItem item);
abstract member Contains : System.Activities.Presentation.Model.ModelItem -> bool
Public MustOverride Function Contains (item As ModelItem) As Boolean

Parameters

item
ModelItem

The value to locate in the collection.

Returns

true if the ModelItemCollection contains an element that has the specified value; otherwise, false.

Implements

Exceptions

item is null.

Applies to

Contains(Object)

Determines whether the ModelItemCollection contains the specified element.

public:
 abstract bool Contains(System::Object ^ value);
public abstract bool Contains (object value);
abstract member Contains : obj -> bool
Public MustOverride Function Contains (value As Object) As Boolean

Parameters

value
Object

The value to locate in the collection.

Returns

true if the ModelItemCollection contains an element that has the specified value; otherwise, false.

Exceptions

value is null.

Applies to