This documentation is archived and is not being maintained.

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

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.

Implements

ICollection<T>.Contains(T)

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

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: