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;

Also See

CTVariable::Index
 

Contact Ekky Software

All around the world Ekky Software is contactable seven days of the week by submitting the following details.

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript