ModelItemDictionary.IDictionary.Contains Method
For a description of this member, see IDictionary.Contains.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Private Function Contains ( _
key As Object _
) As Boolean Implements IDictionary.Contains
bool IDictionary.Contains(
Object key
)
private:
virtual bool Contains(
Object^ key
) sealed = IDictionary::Contains
private abstract Contains :
key:Object -> bool
private override Contains :
key:Object -> bool
JScript does not support explicit interface implementations.
Parameters
- key
Type: System.Object
The key to locate in the dictionary.
Return Value
Type: System.Boolean
true if the dictionary contains an element with key; otherwise, false.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ModelItemDictionary instance is cast to an IDictionary interface.
.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