Microsoft.Activities.Extensions |
WorkflowArguments..::..ContainsKey Method |
WorkflowArguments Class See Also Send Feedback |
Determines whether the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the specified key.
Namespace: Microsoft.Activities.Extensions
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)
Syntax
C# |
---|
public bool ContainsKey( string key ) |
Visual Basic |
---|
Public Function ContainsKey ( _ key As String _ ) As Boolean |
Visual C++ |
---|
public: virtual bool ContainsKey( String^ key ) sealed |
Parameters
- key
- Type: System..::..String
The key to locate in the IDictionary<(Of <(<'TKey, TValue>)>)>.
Return Value
true if the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the key; otherwise, false.Implements
IDictionary<(Of <(<'TKey, TValue>)>)>..::..ContainsKey(TKey)Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | key is null. |