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:
property Object^ default[
	String^ key
] {
	virtual Object^ get(String^ key) sealed;
	virtual void set(String^ key, Object^ value) sealed;
}

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: