مشاركة عبر


HttpCookie.Value Property

Definition

Get or set the value for the 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

Property Value

String

Platform::String

winrt::hstring

The value for the HttpCookie.

Remarks

The Value of the HttpCookie must not be set to null (Nothing in Visual Basic).

The following characters are reserved and cannot be used for this property:

  • backslash ('\')
  • comma (',')
  • semicolon (';')

Applies to