RouteValueDictionary.ICollection<KeyValuePair<String, Object>>.Contains Method (KeyValuePair<String, Object>)

 

For a description of this member, see Contains.

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

bool ICollection<KeyValuePair<string, object>>.Contains(
	KeyValuePair<string, object> item
)

Parameters

item
Type: System.Collections.Generic.KeyValuePair<String, Object>

The key and value pair to locate in the dictionary.

Return Value

Type: System.Boolean

true if item is in the collection; otherwise, false.

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

.NET Framework
Available since 3.5
Return to top
Show: