CookieHeaderValue Class
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.
Represents the HTTP request Cookie
header.
public ref class CookieHeaderValue
public class CookieHeaderValue
type CookieHeaderValue = class
Public Class CookieHeaderValue
- Inheritance
-
CookieHeaderValue
Constructors
CookieHeaderValue(String, String) | |
CookieHeaderValue(String) | |
CookieHeaderValue(StringSegment, StringSegment) |
Initializes a new instance of CookieHeaderValue. |
CookieHeaderValue(StringSegment) |
Initializes a new instance of CookieHeaderValue. |
Properties
Name |
Gets or sets the cookie name. |
Value |
Gets or sets the cookie value. |
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
Parse(String) | |
Parse(StringSegment) |
Parses |
ParseList(IList<String>) |
Parses a sequence of inputs as a sequence of CookieHeaderValue values. |
ParseStrictList(IList<String>) |
Parses a sequence of inputs as a sequence of CookieHeaderValue values using string parsing rules. |
ToString() | Returns a string that represents the current object. |
TryParse(String, CookieHeaderValue) | |
TryParse(StringSegment, CookieHeaderValue) |
Attempts to parse the specified |
TryParseList(IList<String>, IList<CookieHeaderValue>) |
Attempts to parse the sequence of values as a sequence of CookieHeaderValue. |
TryParseStrictList(IList<String>, IList<CookieHeaderValue>) |
Attempts to parse the sequence of values as a sequence of CookieHeaderValue using string parsing rules. |