Op Englesch liesen

Deelen iwwer


CookieHeaderValue Class

Definition

Represents the HTTP request Cookie header.

C#
public class CookieHeaderValue
Inheritance
CookieHeaderValue

Constructors

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 input as a CookieHeaderValue value.

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 input as a CookieHeaderValue.

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.

Applies to

Produkt Versiounen
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0