VpeGetTplDataSourceObject

<< Click to Display Table of Contents >>

Navigation:  Templates >

VpeGetTplDataSourceObject

Previous pageReturn to chapter overviewNext page

Returns the handle of a Data Source Object.

VpeHandle VpeGetTplDataSourceObject(

VpeHandle hTemplate,

long data_source_index

)

VpeHandle hTemplate

Template Handle

long data_source_index

index into the array of available Data Sources
this value must be in the range between 0 and VpeGetTplDataSourceCount() - 1

Returns:

the handle of a Data Source Object, or NULL if data_source_index is out of range

Remarks:

The function can be used to access Data Source Objects directly.

 

See Also:

"dycodoc Template Processing" in the Programmer's Manual