HttpCookie.Item[String] 属性

定义

获取属性的 Values 快捷方式。 提供此属性是为了与以前版本的 Active Server Pages (ASP) 兼容。

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

参数

key
String

Cookie 值的键(索引)。

属性值

Cookie 值。

适用于

另请参阅