Compartir a través de


HttpCookie.CommentURL Property

Definition

Returns the comment URL describing the purpose of this cookie, or null if the cookie has no comment URL. -or- Specifies a comment URL that describes a cookie's purpose.

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

Property Value

a String containing the comment URL, or null if none

Attributes

Remarks

Property getter documentation:

Returns the comment URL describing the purpose of this cookie, or null if the cookie has no comment URL.

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

Property setter documentation:

Specifies a comment URL that describes a cookie's purpose. The comment URL is useful if the browser presents the cookie to the user. Comment URL is RFC 2965 only.

Java documentation for java.net.HttpCookie.setCommentURL(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