Topic Path: Symbol Reference > Classes > TIdCookies Class > TIdCookies Methods > Create Constructor
TIdCookies.Create Constructor

Constructor for the object instance.

constructor Create(
    AOwner: TIdPersistent
Owner of the collection. 

Create is the constructor for the object instance. Create calls the inherited Create method using AOwner as the owner of the collection, and TIdCookieRFC2109 as the ItemClass maintained in the collection. 

Create allocates an internal TMultiReadExclusiveWriteSynchronizer instance that is used to protect access to the collection in a multi-threaded application. 

Create initializes the internal TIdCookieList, and sets the Sorted property to False for the member. 

Use Destroy to free the object instance.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.