RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebActionItems.Add Method

Adds a new action item to the end of the collection.

Pascal
function Add: TWebActionItem;
C++
__fastcall TWebActionItem Add();

Call Add to add an action item to the collection of action items managed by the dispatcher. The new item is added to the end of the Items array. Add returns the action item so that its properties can be set to specify its use. 

Because the dispatcher looks through the action items in order when it tries to find an action item to handle an HTTP request message, add any action items that preprocess HTTP requests first. Then add the most specific action items. This way, more general action items will not be matched to request messages before a closer match can be found. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!