CTVariable::Length
CTVariable::Length returns the byte or element count depending on the type the variable is.
HRESULT Length( [out, retval] LONG* pVal );
Parameters
| pVal | A pointer to a integer object to contain the length. |
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);
Label1.Text = "the length is " + parameter.Length;

