HttpRouteCollection.ContainsKey Method (String)

 

Determines whether the collection contains an element with the specified key.

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

public virtual bool ContainsKey(
	string name
)

Parameters

name
Type: System.String

The key to locate in the collection.

Return Value

Type: System.Boolean

true if the collection contains an element with the key; otherwise, false.

Return to top
Show: