Col | (Variant) If the value of the parameter is the number >=0, then it is the column index (zero-based index).
The -2 value means the last column of the table. If the value of the parameter is of the String type, then it is the column name. |
---|---|
sType | (String) Type of the parameter that has to be found out
"Name" - The method returns String - column name
"Index" - The method returns Long - column index (zero-based index)
|
var oDataTable = pMe.Pm("/DataTable");
var sName = oDataTable.GetColParam(1, "Name");
var sIndex = oDataTable.GetColParam(1, "Index");
var nDtType = oDataTable.GetColParam(1, "Dt");