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 值的鍵(索引)。

屬性值

餅乾的價值。

適用於

另請參閱