Share via


ModelItemDictionary.ContainsKey Method (Object)

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 Object _
) As Boolean
public abstract bool ContainsKey(
    Object key
)
public:
virtual bool ContainsKey(
    Object^ key
) abstract
abstract ContainsKey : 
        key:Object -> bool 
public abstract function ContainsKey(
    key : Object
) : boolean

Parameters

  • key
    Type: System.Object
    A object that represents the key to be tested.

Return Value

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

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

ContainsKey Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture