Share via


ModelItemDictionary.ContainsKey Method (ModelItem)

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

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

Syntax

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

Parameters

Return Value

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

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

ContainsKey Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture