Share via


ModelItemCollection.Contains Method (Object)

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

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ModelItemCollection Class

Contains Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture