HttpCookie.Comment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the comment describing the purpose of this cookie, or
null
if the cookie has no comment. -or- Specifies a comment that describes a cookie's purpose.
public string? Comment { [Android.Runtime.Register("getComment", "()Ljava/lang/String;", "")] get; [Android.Runtime.Register("setComment", "(Ljava/lang/String;)V", "")] set; }
[<get: Android.Runtime.Register("getComment", "()Ljava/lang/String;", "")>]
[<set: Android.Runtime.Register("setComment", "(Ljava/lang/String;)V", "")>]
member this.Comment : string with get, set
Property Value
a String
containing the comment, or null
if none
- Attributes
Remarks
Property getter documentation:
Returns the comment describing the purpose of this cookie, or null
if the cookie has no comment.
Java documentation for java.net.HttpCookie.getComment()
.
Property setter documentation:
Specifies a comment that describes a cookie's purpose. The comment is useful if the browser presents the cookie to the user. Comments are not supported by Netscape Version 0 cookies.
Java documentation for java.net.HttpCookie.setComment(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.