Share via


ModelItemCollection.Contains Method (ModelItem)

When overridden in a derived class, returns a value indicating whether the collection contains the specified item.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Function Contains ( _
    item As ModelItem _
) As Boolean
public abstract bool Contains(
    ModelItem item
)
public:
virtual bool Contains(
    ModelItem^ item
) abstract
abstract Contains : 
        item:ModelItem -> bool 
public abstract function Contains(
    item : ModelItem
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the item is contained in the collection; otherwise, false.

Implements

ICollection<T>.Contains(T)

.NET Framework Security

See Also

Reference

ModelItemCollection Class

Contains Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture