Bagikan melalui


SetCookieHeaderValue.Domain Properti

Definisi

Mendapatkan atau menetapkan nilai untuk Domain atribut cookie.

Atribut Domain menentukan host tempat cookie akan dikirim.

public:
 property System::String ^ Domain { System::String ^ get(); void set(System::String ^ value); };
public:
 property Microsoft::Extensions::Primitives::StringSegment Domain { Microsoft::Extensions::Primitives::StringSegment get(); void set(Microsoft::Extensions::Primitives::StringSegment value); };
public string Domain { get; set; }
public Microsoft.Extensions.Primitives.StringSegment Domain { get; set; }
member this.Domain : string with get, set
member this.Domain : Microsoft.Extensions.Primitives.StringSegment with get, set
Public Property Domain As String
Public Property Domain As StringSegment

Nilai Properti

Keterangan

Lihat https://tools.ietf.org/html/rfc6265#section-4.1.2.3.

Berlaku untuk