RouteValueDictionary.ContainsKey Method (String)

 

Determines whether the dictionary contains the specified key.

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

public bool ContainsKey(
	string key
)

Parameters

key
Type: System.String

The key to locate in the dictionary.

Return Value

Type: System.Boolean

true if the dictionary contains an element that has the specified key; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: