







![]() ![]() |
Microsoft.Activities.Extensions |
WorkflowArguments..::..Remove Method (String) |
WorkflowArguments Class See Also Send Feedback |
Removes the element with the specified key from the IDictionary<(Of <(<'TKey, TValue>)>)>.
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 Remove( string key ) |
Visual Basic |
---|
Public Function Remove ( _ key As String _ ) As Boolean |
Visual C++ |
---|
public: virtual bool Remove( String^ key ) sealed |
Parameters
- key
- Type: System..::..String
The key of the element to remove.
Return Value
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary<(Of <(<'TKey, TValue>)>)>.Implements
IDictionary<(Of <(<'TKey, TValue>)>)>..::..Remove(TKey)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | key is null. |
System..::..NotSupportedException | The IDictionary<(Of <(<'TKey, TValue>)>)> is read-only. |