ModelItemDictionary.IDictionary.Contains Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the IDictionary object contains an element with the specified key.
Namespace: System.Activities.Design.Model
Assembly: System.Activities.Design.Base (in System.Activities.Design.Base.dll)
Syntax
'Declaration
Private Function Contains ( _
key As Object _
) As Boolean Implements IDictionary.Contains
'Usage
Dim instance As ModelItemDictionary
Dim key As Object
Dim returnValue As Boolean
returnValue = CType(instance, IDictionary).Contains(key)
bool IDictionary.Contains(
Object key
)
private:
virtual bool Contains(
Object^ key
) sealed = IDictionary::Contains
JScript does not support explicit interface implementations.
private abstract Contains :
key:Object -> bool
private override Contains :
key:Object -> bool
Parameters
- key
Type: System.Object
The key to locate in the IDictionary object.
Return Value
Type: System.Boolean
true if the IDictionary contains an element with the key; otherwise, false.
Implements
.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.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4