RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractContentParser.GetContentFields Method

Returns the named value strings that are included in the content of the current Web request.

Pascal
function GetContentFields: TStrings; virtual; abstract;
C++
virtual __fastcall TStrings GetContentFields() = 0;

GetContentFields returns a list of strings with the form "Name=Value" that represent any name/value pairs that the parser identifies in the content of the current Web request. 

In TAbstractContentParser, GetContentFields is abstract or, in C++ terminology, pure virtual, meaning that this class does not supply an implementation. Descendant classes override this method to extract name/value pairs from the current request and add them to the returned string list.

Note: The content parser owns the string list it returns. The caller should not free the string list.
 

 

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