CookieState Class
Contains cookie name and its associated cookie state.
Inheritance Hierarchy
System.Object
System.Net.Http.Headers.CookieState
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Class CookieState _
Implements ICloneable
'Usage
Dim instance As CookieState
public class CookieState : ICloneable
public ref class CookieState : ICloneable
type CookieState =
class
interface ICloneable
end
public class CookieState implements ICloneable
The CookieState type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CookieState(String) | Initializes a new instance of the CookieState class. | |
CookieState(String, NameValueCollection) | Initializes a new instance of the CookieState class. | |
CookieState(String, String) | Initializes a new instance of the CookieState class. |
Top
Properties
Name | Description | |
---|---|---|
Item | Gets or sets the cookie value with the specified cookie name, if the cookie data is structured. | |
Name | Gets or sets the name of the cookie. | |
Value | Gets or sets the cookie value, if cookie data is a simple string value. | |
Values | Gets or sets the collection of name-value pair, if the cookie data is structured. |
Top
Methods
Name | Description | |
---|---|---|
Clone | Returns a new object that is a copy of the current instance. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns the string representation the current object. (Overrides Object.ToString().) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.