Namespace: OpenEdge.Net.HTTP
Type: Class CookieCollection
Parent Classes:
Inherits: OpenEdge.Core.Collections.Collection


Copyright (c) 2014 by Progress Software Corporation. All rights reserved.
File:CookieCollection
Purpose:A specialised collection containing Cookie objects
Author(s):pjudge
Created:Thu May 22 13:35:38 EDT 2014



Method Summary
  Options Name Purpose
  LOGICAL Add (Cookie) /** Add an object to the collection. @param {&ValueType} The object to add to the collection @return logical True if the operation succeeded. */
  LOGICAL AddArray (Cookie[]) /** Add an array of objects to the collection. @param {&CollectionType}[] The array to add to the collection @return logical True if the operation succeeded. */
  LOGICAL Contains (Cookie) /** Determine whether an object is in the collection. @param {&ValueType} The object to check in the collection @return logical True if the operation succeeded. */
  LOGICAL Remove (Cookie) /** Remove an object from the collection. @param {&ValueType} The object to remove from the collection @return logical True if the operation succeeded. */
  OpenEdge.Net.HTTP.Cookie ToCookieArray () /* Returns the elements in this collection as an ABL array. @return {&ValueType}[] An ABL array of the objects in this collection */

Constructor Summary
  Options Name Purpose
  CookieCollection ()
  CookieCollection (ICollection)

Method Detail
Top

LOGICAL Add (Cookie)

Purpose: Add an object to the collection.
Parameters:
newObject OpenEdge.Net.HTTP.Cookie
 
Returns LOGICAL
  logical True if the operation succeeded.
Top

LOGICAL AddArray (Cookie[])

Purpose: Add an array of objects to the collection.
Parameters:
poArray OpenEdge.Net.HTTP.Cookie
 
Returns LOGICAL
  logical True if the operation succeeded.
Top

LOGICAL Contains (Cookie)

Purpose: Determine whether an object is in the collection.
Parameters:
checkObject OpenEdge.Net.HTTP.Cookie
 
Returns LOGICAL
  logical True if the operation succeeded.
Top

LOGICAL Remove (Cookie)

Purpose: Remove an object from the collection.
Parameters:
oldObject OpenEdge.Net.HTTP.Cookie
 
Returns LOGICAL
  logical True if the operation succeeded.
Top

OpenEdge.Net.HTTP.Cookie ToCookieArray ()

/* Returns the elements in this collection as an ABL array.
Returns OpenEdge.Net.HTTP.Cookie
  {&ValueType}[] An ABL array of the objects in this collection


Constructor Detail
Top

CookieCollection ()

Top

CookieCollection (ICollection)

Parameters:
poCollection OpenEdge.Core.Collections.ICollection