HttpCookie.Value 屬性

定義

取得或設定 HttpCookie的值。

public:
 property Platform::String ^ Value { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Value();

void Value(winrt::hstring value);
public string Value { get; set; }
var string = httpCookie.value;
httpCookie.value = string;
Public Property Value As String

屬性值

String

Platform::String

winrt::hstring

HttpCookie的值。

備註

HttpCookie的值不得設定為Null (Visual Basic 中的Nothing) 。

下列字元是保留的,不能用於此屬性:

  • 反斜線 ('\')
  • 逗號 (',')
  • 分號 (';')

適用於