CookieState Constructor (String, String)
Initializes a new instance of the CookieState 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 CookieState(name, value)
public CookieState(
string name,
string value
)
public:
CookieState(
String^ name,
String^ value
)
new :
name:string *
value:string -> CookieState
public function CookieState(
name : String,
value : String
)
Parameters
name
Type: System.StringThe name of the cookie.
value
Type: System.StringThe value of the cookie.