CTVariable::SetStructure
CTVariable::SetStructure sets a CTVariable to value of the printed string.
HRESULT SetStructure( BSTR AString, LONG Format );
Parameters
| AString | A string object to contain the new value. |
| Format | TVariable::Parameter to format the value. If zero then it will be treated as native, else can be currently be PHP |
Return Values
S_OK for success, windows error code otherwise.
Remarks
Example Use
TComAPI.CTVariable parameter = new TComAPI.CTVariableClass();
parameter.SetSturcture({"one","two","three","four","five"},0);
string = "the value are - ";
for(a = 0; a < parameter.Length; a++)
string += parameter.get_Index(a).AString + ", ";
Label1.Text = string;

