Home Texas Home

CTVariable::Integer

CTVariable::Integer sets or returns the integer value of an CTVariable element.
HRESULT Integer(
   [out, retval] LONGLONG* pVal
);

HRESULT Integer(
   [in] LONGLONG newVal
);
	

Parameters

pVal A pointer to a integer object to contain the value.
newVal An object to contain the new integer 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("UserID").Integer = (int)Request.QueryString["UserID"];
Label1.Text = parameter.get_Element("UserID").ToString;


Also See

AString

Copyright © 2007, Ekky Software Pty Ltd.