Click or drag to resize
IHttpCookieCollection Interface
Defines implementation capable of handling collection of IHttpCookie objects.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
public interface IHttpCookieCollection : ICollection, 
	IEnumerable

The IHttpCookieCollection type exposes the following members.

Properties
  NameDescription
Public propertyAllKeys
Gets a string array containing all the keys (cookie names) in the cookie collection.
Public propertyItem
Gets the cookie with the specified name from the cookie collection.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified cookie to the cookie collection.
Public methodClear
Clears all cookies from the cookie collection.
Public methodRemove
Removes the cookie with the specified name from the collection.
Top
Extension Methods
  NameDescription
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
See Also