SetCookieHeaderValue 构造函数

定义

重载

SetCookieHeaderValue(StringSegment)

初始化 SetCookieHeaderValue 的新实例。

SetCookieHeaderValue(String)
SetCookieHeaderValue(StringSegment, StringSegment)

初始化 SetCookieHeaderValue 的新实例。

SetCookieHeaderValue(String, String)

SetCookieHeaderValue(StringSegment)

Source:
SetCookieHeaderValue.cs
Source:
SetCookieHeaderValue.cs
Source:
SetCookieHeaderValue.cs

初始化 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)

参数

name
StringSegment

Cookie 名称。

适用于

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)

参数

name
String

适用于

SetCookieHeaderValue(StringSegment, StringSegment)

Source:
SetCookieHeaderValue.cs
Source:
SetCookieHeaderValue.cs
Source:
SetCookieHeaderValue.cs

初始化 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)

参数

name
StringSegment

Cookie 名称。

value
StringSegment

Cookie 值。

适用于

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)

参数

name
String
value
String

适用于