CookieHeaderValue Constructor (String, String)
Initializes a new instance of the CookieHeaderValue class.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
value As String _
)
'Usage
Dim name As String
Dim value As String
Dim instance As New CookieHeaderValue(name, value)
public CookieHeaderValue(
string name,
string value
)
public:
CookieHeaderValue(
String^ name,
String^ value
)
new :
name:string *
value:string -> CookieHeaderValue
public function CookieHeaderValue(
name : String,
value : String
)
Parameters
name
Type: System.StringThe value of the name.
value
Type: System.StringThe value.