Share via


CookieOptions.Domain Property

Definition

Gets or sets the domain to associate the cookie with.

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

Property Value

The domain to associate the cookie with.

Applies to