RouteValueDictionary.Add Method (String, Object)

 

Adds the specified value to the dictionary by using the specified key.

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

public void Add(
	string key,
	object value
)

Parameters

key
Type: System.String

The key of the element to add.

value
Type: System.Object

The value of the element to add.

.NET Framework
Available since 3.5
Return to top
Show: