HttpCookie.Domain Property

Definition

Returns the domain name set for this cookie. -or- Specifies the domain within which this cookie should be presented.

public string? Domain { [Android.Runtime.Register("getDomain", "()Ljava/lang/String;", "")] get; [Android.Runtime.Register("setDomain", "(Ljava/lang/String;)V", "")] set; }
[<get: Android.Runtime.Register("getDomain", "()Ljava/lang/String;", "")>]
[<set: Android.Runtime.Register("setDomain", "(Ljava/lang/String;)V", "")>]
member this.Domain : string with get, set

Property Value

String

a String containing the domain name

Attributes

Remarks

Property getter documentation:

Java documentation for java.net.HttpCookie.getDomain().

Property setter documentation:

Java documentation for java.net.HttpCookie.setDomain(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to