Delen via


CookieHeaderValue Constructors

Definition

Overloads

CookieHeaderValue(StringSegment)

Initializes a new instance of CookieHeaderValue.

CookieHeaderValue(String)
CookieHeaderValue(StringSegment, StringSegment)

Initializes a new instance of CookieHeaderValue.

CookieHeaderValue(String, String)

CookieHeaderValue(StringSegment)

Source:
CookieHeaderValue.cs
Source:
CookieHeaderValue.cs
Source:
CookieHeaderValue.cs

Initializes a new instance of CookieHeaderValue.

public:
 CookieHeaderValue(Microsoft::Extensions::Primitives::StringSegment name);
public CookieHeaderValue (Microsoft.Extensions.Primitives.StringSegment name);
new Microsoft.Net.Http.Headers.CookieHeaderValue : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.CookieHeaderValue
Public Sub New (name As StringSegment)

Parameters

name
StringSegment

The cookie name.

Applies to

CookieHeaderValue(String)

public:
 CookieHeaderValue(System::String ^ name);
public CookieHeaderValue (string name);
new Microsoft.Net.Http.Headers.CookieHeaderValue : string -> Microsoft.Net.Http.Headers.CookieHeaderValue
Public Sub New (name As String)

Parameters

name
String

Applies to

CookieHeaderValue(StringSegment, StringSegment)

Source:
CookieHeaderValue.cs
Source:
CookieHeaderValue.cs
Source:
CookieHeaderValue.cs

Initializes a new instance of CookieHeaderValue.

public:
 CookieHeaderValue(Microsoft::Extensions::Primitives::StringSegment name, Microsoft::Extensions::Primitives::StringSegment value);
public CookieHeaderValue (Microsoft.Extensions.Primitives.StringSegment name, Microsoft.Extensions.Primitives.StringSegment value);
new Microsoft.Net.Http.Headers.CookieHeaderValue : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.CookieHeaderValue
Public Sub New (name As StringSegment, value As StringSegment)

Parameters

name
StringSegment

The cookie name.

value
StringSegment

The cookie value.

Applies to

CookieHeaderValue(String, String)

public:
 CookieHeaderValue(System::String ^ name, System::String ^ value);
public CookieHeaderValue (string name, string value);
new Microsoft.Net.Http.Headers.CookieHeaderValue : string * string -> Microsoft.Net.Http.Headers.CookieHeaderValue
Public Sub New (name As String, value As String)

Parameters

name
String
value
String

Applies to