Remove Method (KeyValuePair(String, Object))

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.

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(
	KeyValuePair<string, Object> item
)
Visual Basic
Public Function Remove ( _
	item As KeyValuePair(Of String, Object) _
) As Boolean
Visual C++
public:
virtual bool Remove(
	KeyValuePair<String^, Object^> item
) sealed

Parameters

item
Type: System.Collections.Generic..::..KeyValuePair<(Of <(<'String, Object>)>)>
The object to remove from the ICollection<(Of <(<'T>)>)>.

Return Value

true if item was successfully removed from the ICollection<(Of <(<'T>)>)>; otherwise, false. This method also returns false if item is not found in the original ICollection<(Of <(<'T>)>)>.

Implements

ICollection<(Of <(<'T>)>)>..::..Remove(T)

Exceptions

See Also