Index Data |
Scroll |
The Index Data Object contains the Index Data for the current Thereforeā¢ Document.
The vIxData Object (Array):
Position |
Type |
Value |
0 |
String |
Category Name |
1 |
Integer |
Category Number |
2 |
Integer |
Document Number |
3 |
Integer |
not used. Ignore. |
4 |
Array |
Index Data |
4.n |
Array |
Index Data Value Pair (Column Name - Value) |
4.n.0 |
Object |
Column Name of Index Data Field |
4.n.1 |
Object |
Index Data Value for Field n. |
C# Sample (accessing the vIxData Object)
object[] oaIxData = (object[])vIxData;
//read main Index Data Information
string strCtgryName = (string)objIndexData[0];
int nCtgryNo = (int)objIndexData[1];
int nDocNo = (int)objIndexData[2];
//read all index data values
object[] oaIxDataValues = (object[])objIndexData[4];
for (int i = 0; i < oaIxDataValues.Length; i++)
{
//get 4.n
object[] objFieldVal = (object[])oaIxDataValues[i];
//get 4.n.0
string strIndexName = (string)objFieldVal[0];
//get 4.n.1
if (objFieldVal[1] == null)
objFieldVal[1] = "";
string strFieldValue = objFieldVal[1].ToString();
//SAVE INDEX DATA IN INTERNAL STRUCTURE
}