GxVariant: SetRefPath |
Reference a gxVariant by path.
Public Function SetRefPath( ByVal path As String ) As Boolean
[Visual Basic] Public Function SetRefPath(ByVal Path As String) As Boolean
[Delphi] function SetRefPath(const Path : WideString) : Boolean;
[C++] BOOL SetRefPath(LPCTSTR Path);
The variant data type can constitute a tree structure: every item in the tree is also a variant, and in turn can have child items. The item in the tree can be referenced by the path string, which has the following format:
condition[=value][,condition[=value]][/condition[=value][,condition[=value]]]
For example, get MRZ_NAME field from passport reader document object:
path = "C,D=" & PRV_FIELDLIST & "/L,D=" & PRV_FIELD & ",V=" & PR_DF_MRZ_NAME
Class GxVariant Overview GxVariant Properties GxVariant Methods SetRefArray Size