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
- key
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem that represents the key to be tested.
Return Value
Type: System.Boolean
true if the dictionary contains the key; otherwise, false.
Implements
IDictionary<TKey, TValue>.ContainsKey(TKey)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace