RouteValueDictionary.ICollection(Of KeyValuePair(Of String, Object)).Remove Method (KeyValuePair(Of String, Object))

 

For a description of this member, see Remove.

Namespace:   System.Web.Routing
Assembly:  System.Web (in System.Web.dll)

Private Function Remove (
	item As KeyValuePair(Of String, Object)
) As Boolean
	Implements ICollection(Of KeyValuePair(Of String, Object)).Remove

Parameters

item
Type: System.Collections.Generic.KeyValuePair(Of String, Object)

The key of the element to remove.

Return Value

Type: System.Boolean

true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the collection.

This member is an explicit interface member implementation. It can be used only when the RouteValueDictionary instance is cast to an ICollection(Of T) interface.

.NET Framework
Available since 3.5
Return to top
Show: