Home Texas Home

CTVariable::Index

CTVariable::Index returns the indexed TVariable value.
HRESULT Index(
   [in] LONG ElementIndex,
   [out, retval] ITVariable** pVal
);
	

Parameters

ElementIndex The index 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_Index(0).AString = Request.QueryString["FirstName"];
parameter.get_Index(1).AString = Request.QueryString["SecondName"];
parameter.get_Index(2).AString = Request.QueryString["ThirdName"];
Label1.Text = parameter.ToString(0);

Also See

Element

Copyright © 2007, Ekky Software Pty Ltd.