Web.HTTPApp.TCookieCollection.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Items[Index: Integer]: TCookie read GetCookie write SetCookie; default;

C++

__property TCookie* Items[int Index] = {read=GetCookie, write=SetCookie/*, default*/};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TCookieCollection

Description

Provides indexed access to the TCookie objects in the collection.

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:FirstCookie := TApacheResponse1.Cookies.Items[0];can be written:FirstCookie := TApacheResponse1.Cookies[0];

See Also