Click or drag to resize

CookieCollection Class

Provides a collection container for instances of the Cookie class.
Inheritance Hierarchy
SystemObject
  Sfs2X.WebSocketSharp.NetCookieCollection

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
[SerializableAttribute]
public class CookieCollection : ICollection, 
	IEnumerable

The CookieCollection type exposes the following members.

Constructors
  NameDescription
Public methodCookieCollection
Initializes a new instance of the CookieCollection class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of cookies in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyIsSynchronized
Gets a value indicating whether the access to the collection is thread safe.
Public propertyItemInt32
Gets the Cookie at the specified index from the collection.
Public propertyItemString
Gets the Cookie with the specified name from the collection.
Public propertySyncRoot
Gets an object used to synchronize access to the collection.
Top
Methods
  NameDescription
Public methodAdd(Cookie)
Adds the specified cookie to the collection.
Public methodAdd(CookieCollection)
Adds the specified cookies to the collection.
Public methodCopyTo(Array, Int32)
Copies the elements of the collection to the specified Array, starting at the specified index in the array.
Public methodCopyTo(Cookie, Int32)
Copies the elements of the collection to the specified array of Cookie, starting at the specified index in the array.
Public methodGetEnumerator
Gets the enumerator used to iterate through the collection.
Top
See Also