CTVariable::ToString
CTVariable::ToString returns a formated ascii value of an CTVariable element.
HRESULT ToString( [in] LONG Format, [out, retval] BSTR* pVal );
Parameters
| Format | TVariable::Parameter to format the value. |
| pVal | A pointer to a string object to contain the value. |
Return Values
S_OK for success, windows error code otherwise.
Remarks
Example Use
TComAPI.CTVariable parameter = new TComAPI.CTVariableClass();
parameter.get_Element("UserName").AString = Request.QueryString["UserName"];
Label1.Text = parameter.ToString(0);

