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;

Also See

 

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