RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IActionFieldValues.AddValue Method

Adds a new field to the list.

Pascal
function AddValue(const AName: string): IActionFieldValue;
C++
__fastcall IActionFieldValue AddValue(const AnsiString AName);

Typically, WebSnap applications do not need to call AddValue, because the IActionFieldValues interface is used for reading the values that are stored in a request message, not for adding to them. You can, however, use this method to add a new field to the list so that it appears as if it arrived with the current request message. 

AName is the name of the new field. This must not match any of the names currently listed by the FieldNames property. 

AddValue returns the interface for the value of the newly added field. 

 

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