Partilhar via


SetCookieHeaderValue.Domain Propriedade

Definição

Obtém ou define um valor para o Domain atributo cookie.

O atributo Domain especifica os hosts aos quais o cookie será enviado.

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

Valor da propriedade

Comentários

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

Aplica-se a