RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCookieCollection.Items Property

Provides indexed access to the TCookie objects in the collection.

Pascal
property Items [Index: Integer]: TCookie;
C++
__property TCookie Items[int Index];

Use Items to access the properties of the TCookie objects maintained by TCookieCollection.

Note: In Delphi, items is the default property of TCookieCollection, so the name of the Items property can be left off when using this property. Thus the line
Note: FirstCookie := TApacheResponse1.Cookies.Items[0];
Note: can be written
Note: FirstCookie := TApacheResponse1.Cookies[0];
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!