Bewerken

Share via


RouteValueDictionary.Item[String] Property

Definition

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

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ key); void set(System::String ^ key, System::Object ^ value); };
public object this[string key] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(key As String) As Object

Parameters

key
String

The key of the value to get or set.

Property Value

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

Implements

Applies to

See also