Difference between revisions of "API Component.GetOriginal"

From Flowcode Help
Jump to navigationJump to search
(XML import API auto-gen)
(XML import)
Line 2: Line 2:
 
Gets the original definition of the component, returns Current if no original copy
 
Gets the original definition of the component, returns Current if no original copy
  
 +
<div style="width:25%; float:right" class="toc">
 +
===Class hierarchy===
 +
:Component
 +
::GetOriginal
 +
</div>
 +
__TOC__
  
===Parameters===
+
==Parameters==
 
''[[Variable types|HANDLE]] Current''
 
''[[Variable types|HANDLE]] Current''
 
:The component to find the definition of
 
:The component to find the definition of
  
===Return value===
+
==Return value==
 
[[Variable types|HANDLE]]
 
[[Variable types|HANDLE]]
  
 
Returns the original definition of the component, returns Current if no original copy
 
Returns the original definition of the component, returns Current if no original copy
  
===Detailed description===
+
==Detailed description==
 
''No additional information''
 
''No additional information''
  
===Examples===
+
==Examples==
====Calling in a calculation====
+
===Calling in a calculation===
 
* Declare a variable 'result' of type HANDLE
 
* Declare a variable 'result' of type HANDLE
* Add to a calculation icon: <pre class="brush:[C]">result = ::Component.GetOriginal(current)</pre>
+
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.GetOriginal(current)</pre>

Revision as of 16:01, 11 May 2013

<sidebar>API contents</sidebar> Gets the original definition of the component, returns Current if no original copy

Class hierarchy

Component
GetOriginal

Parameters

HANDLE Current

The component to find the definition of

Return value

HANDLE

Returns the original definition of the component, returns Current if no original copy

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Component.GetOriginal(current)