ModelItemCollection.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.
Determines whether the ModelItemCollection contains the specified element.
Contains(ModelItem) |
Determines whether the ModelItemCollection contains the specified element. |
Contains(Object) |
Determines whether the ModelItemCollection contains the specified element. |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: