RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TContentParser.GetContentFields Method

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

Pascal
function GetContentFields: TStrings; override;
C++
virtual __fastcall TStrings GetContentFields();

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 TContentParser, GetContentFields simply calls the ExtractContentFields method of the current Web request. This method assumes that fields are strings with the form "Name=Value", separated by ampersands (&).

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!