RouteValueDictionary.Item[String] 属性

定义

获取或设置与指定的键关联的值。

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

参数

key
String

要获取或设置的值的键。

属性值

Object

与指定的键关联的值,如果该键在集合中不存在,则为 null

实现

适用于

另请参阅