RouteValueDictionary.Item Property (String)

 

Gets or sets the value that is associated with the specified key.

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

public object this[
	string key
] { get; set; }

Parameters

key
Type: System.String

The key of the value to get or set.

Property Value

Type: System.Object

The value that is associated with the specified key, or null if the key does not exist in the collection.

.NET Framework
Available since 3.5
Return to top
Show: