Home Texas Home

CTVariable::Type

CTVariable::Type returns the type the variable is.
HRESULT Type(
   [out, retval] LONG* pVal
);
	

Parameters

pVal A pointer to a integer object to contain the TVariable Type.

Return Values

S_OK for success, windows error code otherwise.

Remarks

Example Use


TComAPI.CTVariable parameter = new TComAPI.CTVariableClass();
parameter.SetSturcture({"one","two","three","four","five"});
Label1.Text = "the Type is " + parameter.Type;//returns "the Type is 12" as it is a TVariable::Struture


Also See

Copyright © 2007, Ekky Software Pty Ltd.