Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CookieState Class

Contains cookie name and its associated cookie state.

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

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
[DefaultMemberAttribute("Item")]
public class CookieState : ICloneable

The CookieState type exposes the following members.

  NameDescription
Public methodCookieState(String)Initializes a new instance of the CookieState class.
Public methodCookieState(String, NameValueCollection)Initializes a new instance of the CookieState class.
Public methodCookieState(String, String)Initializes a new instance of the CookieState class.
Top
  NameDescription
Public propertyItemGets or sets the cookie value with the specified cookie name, if the cookie data is structured.
Public propertyNameGets or sets the name of the cookie.
Public propertyValueGets or sets the cookie value, if cookie data is a simple string value.
Public propertyValuesGets or sets the collection of name-value pair, if the cookie data is structured.
Top
  NameDescription
Public methodCloneReturns a new object that is a copy of the current instance.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the string representation the current object. (Overrides Object.ToString().)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.