Difference between revisions of "API Component.GetInstance"
From Flowcode Help
Jump to navigationJump to search|  (XML import) |  (XML import) | ||
| Line 3: | Line 3: | ||
| <div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
| − | ===Class hierarchy===[[API Component|Component]] | + | ====Class hierarchy==== | 
| + | [[API Component|Component]] | ||
| :[[API Component|GetInstance]] | :[[API Component|GetInstance]] | ||
| </div> | </div> | ||
| Line 9: | Line 10: | ||
| ==Parameters== | ==Parameters== | ||
| − | + | [[Variable types|HANDLE]] ''Target'' | |
| :The component to read the instance from | :The component to read the instance from | ||
| :''The default value for this parameter is: '''''this''' | :''The default value for this parameter is: '''''this''' | ||
| Line 19: | Line 20: | ||
| ==Detailed description== | ==Detailed description== | ||
| − | ''No additional information'' | + | ''<span style="color:red;">No additional information</span>'' | 
| + | |||
| ==Examples== | ==Examples== | ||
| Line 25: | Line 27: | ||
| * Declare a variable 'result' of type ULONG | * Declare a variable 'result' of type ULONG | ||
| * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.GetInstance(target)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.GetInstance(target)</pre> | ||
| + | |||
| + | ''<span style="color:red;">No additional information</span>'' | ||
Revision as of 22:07, 11 May 2013
<sidebar>API contents</sidebar> Gets the type-instance of the component, >= 1 is valid
Contents
Parameters
HANDLE Target
- The component to read the instance from
- The default value for this parameter is: this
Return value
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) 
No additional information
