CTVariable::Label
CTVariable::Label returns or sets the Label of the TVariable element.
HRESULT Label( [out, retval] BSTR* pVal ); HRESULT Label( [in] BSTR newVal );
Parameters
| pVal | A pointer to a string object to contain the name. |
| newVal | The new label name |
Return Values
S_OK for success, windows error code otherwise.
Remarks
Example Use
TComAPI.CTVariable parameter = new TComAPI.CTVariableClass();
parameter.get_Element("UserID").Integer = (int)Request.QueryString["UserID"];
Label1.Text = parameter.get_Element("UserID").ToString;

