GetFieldAsString

<< Click to Display Table of Contents >>

Navigation:  Template Object >

GetFieldAsString

Previous pageReturn to chapter overviewNext page

Returns the value of a Field as string.

method string TVPETemplate.GetFieldAsString(

string DataSourcePrefix,

string FieldName

)

string DataSourcePrefix

prefix of the Data Source, this is the unique name of a Data Source as defined in dycodoc

string FieldName

name of the Data Source Field

Returns:

The string value of the Field.

Remarks:

In case of an error, an exception is thrown (for example, the field was not found, or out of memory)

 

See also:

"dycodoc Template Processing" in the Programmer's Manual