Jump to content

API Component.GetInstance: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import API auto-gen test
Line 1: Line 1:
<sidebar>API contents</sidebar>
wiki page name
==ComponentGetInstance==
 
Gets the type-instance of the component, >= 1 is valid
Gets the type-instance of the component, >= 1 is valid
 
----


===Parameters===
===Parameters===
Line 17: Line 19:


===Examples===
===Examples===
====Calling in a calculation====
====Calling in a calculation:====
* Declare a variable 'result' of type ULONG
* Declare a variable 'result' of type ULONG
* Add to a calculation icon: result = ::Component.GetInstance(target)
* Add to a calculation icon: result = ::Component.GetInstance(target)

Revision as of 15:35, 10 May 2013

wiki page name

ComponentGetInstance

Gets the type-instance of the component, >= 1 is valid


Parameters

HANDLE Target

The component to read the instance from
The default value for this parameter is: this

Return value

ULONG

Returns the type-instance of the component, >= 1 is valid

Detailed description

No additional information

Examples

Calling in a calculation:

  • Declare a variable 'result' of type ULONG
  • Add to a calculation icon: result = ::Component.GetInstance(target)