Share via


ModelItemDictionary.Contains Method

When overridden in a derived class, returns whether the dictionary contains the specified key value pair.

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

Syntax

'Declaration
Protected Overridable Function Contains ( _
    item As KeyValuePair(Of ModelItem, ModelItem) _
) As Boolean
protected virtual bool Contains(
    KeyValuePair<ModelItem, ModelItem> item
)
protected:
virtual bool Contains(
    KeyValuePair<ModelItem^, ModelItem^> item
)
abstract Contains : 
        item:KeyValuePair<ModelItem, ModelItem> -> bool 
override Contains : 
        item:KeyValuePair<ModelItem, ModelItem> -> bool 
protected function Contains(
    item : KeyValuePair<ModelItem, ModelItem>
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the dictionary contains the item; otherwise, false.

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture