Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpCookie Constructor

HttpCookie Constructor

Initializes a new instance of the HttpCookie class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method HttpCookie(String) Creates and names a new cookie.
Public method HttpCookie(String, String) Creates, names, and assigns a value to a new cookie.
© 2015 Microsoft