Remove Method (String)

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
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

See Also