CTVariable::AString
CTVariable::AString sets or returns the ascii value of an CTVariable element.
HRESULT AString( [out, retval] BSTR* pVal ); HRESULT AString( [in] BSTR newVal );
Parameters
| pVal | A pointer to a string object to contain the value. |
| newVal | A string object to contain the new ascii value or the element. |
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.get_Element("UserName").AString;

