RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomContentProducer.ContentFromString Method

Returns the content produced in response to an input string.

Pascal
function ContentFromString(const S: string): string; virtual;
C++
virtual __fastcall AnsiString ContentFromString(const AnsiString S);

Call ContentFromString to retrieve the content produced by the content producer based on the information provided by the S parameter. TCustomContentProducer ignores the string and returns the value created by the Content method.  

Descendants of TCustomContentProducer override this method to interpret the input string in their own way. 

 

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