CTVariable::Element
CTVariable::Element returns the named TVariable value.
HRESULT Element( [in] BSTR ElementLabel, [out, retval] ITVariable** pVal );
Parameters
| ElementLabel | The name of the element. |
| 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.get_Element("UserName").AString;

