SetCookieHeaderValue Constructors
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.
Overloads
SetCookieHeaderValue(StringSegment) |
Initializes a new instance of SetCookieHeaderValue. |
SetCookieHeaderValue(String) | |
SetCookieHeaderValue(StringSegment, StringSegment) |
Initializes a new instance of SetCookieHeaderValue. |
SetCookieHeaderValue(String, String) |
SetCookieHeaderValue(StringSegment)
- Source:
- SetCookieHeaderValue.cs
- Source:
- SetCookieHeaderValue.cs
- Source:
- SetCookieHeaderValue.cs
Initializes a new instance of SetCookieHeaderValue.
public:
SetCookieHeaderValue(Microsoft::Extensions::Primitives::StringSegment name);
public SetCookieHeaderValue (Microsoft.Extensions.Primitives.StringSegment name);
new Microsoft.Net.Http.Headers.SetCookieHeaderValue : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.SetCookieHeaderValue
Public Sub New (name As StringSegment)
Parameters
- name
- StringSegment
The cookie name.
Applies to
SetCookieHeaderValue(String)
public:
SetCookieHeaderValue(System::String ^ name);
public SetCookieHeaderValue (string name);
new Microsoft.Net.Http.Headers.SetCookieHeaderValue : string -> Microsoft.Net.Http.Headers.SetCookieHeaderValue
Public Sub New (name As String)
Parameters
- name
- String
Applies to
SetCookieHeaderValue(StringSegment, StringSegment)
- Source:
- SetCookieHeaderValue.cs
- Source:
- SetCookieHeaderValue.cs
- Source:
- SetCookieHeaderValue.cs
Initializes a new instance of SetCookieHeaderValue.
public:
SetCookieHeaderValue(Microsoft::Extensions::Primitives::StringSegment name, Microsoft::Extensions::Primitives::StringSegment value);
public SetCookieHeaderValue (Microsoft.Extensions.Primitives.StringSegment name, Microsoft.Extensions.Primitives.StringSegment value);
new Microsoft.Net.Http.Headers.SetCookieHeaderValue : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.SetCookieHeaderValue
Public Sub New (name As StringSegment, value As StringSegment)
Parameters
- name
- StringSegment
The cookie name.
- value
- StringSegment
The cookie value.
Applies to
SetCookieHeaderValue(String, String)
public:
SetCookieHeaderValue(System::String ^ name, System::String ^ value);
public SetCookieHeaderValue (string name, string value);
new Microsoft.Net.Http.Headers.SetCookieHeaderValue : string * string -> Microsoft.Net.Http.Headers.SetCookieHeaderValue
Public Sub New (name As String, value As String)
Parameters
- name
- String
- value
- String