CookieState Class

 

Contains cookie name and its associated cookie state.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

System::Object
  System.Net.Http.Headers::CookieState

[DefaultMemberAttribute("Item")]
public ref class CookieState : ICloneable

NameDescription
System_CAPS_pubmethodCookieState(String^)

Initializes a new instance of the CookieState class.

System_CAPS_pubmethodCookieState(String^, NameValueCollection^)

Initializes a new instance of the CookieState class.

System_CAPS_pubmethodCookieState(String^, String^)

Initializes a new instance of the CookieState class.

NameDescription
System_CAPS_pubpropertyItem[String^]

Gets or sets the cookie value with the specified cookie name, if the cookie data is structured.

System_CAPS_pubpropertyName

Gets or sets the name of the cookie.

System_CAPS_pubpropertyValue

Gets or sets the cookie value, if cookie data is a simple string value.

System_CAPS_pubpropertyValues

Gets or sets the collection of name-value pair, if the cookie data is structured.

NameDescription
System_CAPS_pubmethodClone()

Returns a new object that is a copy of the current instance.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the string representation the current object.(Overrides Object::ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: