Jump to content

API Component.Property.GetValue: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 21: Line 21:
====Calling in a calculation====
====Calling in a calculation====
* Declare a variable 'result' of type STRING
* Declare a variable 'result' of type STRING
* Add to a calculation icon: result = ::Component.Property.GetValue(handle, "property")
* Add to a calculation icon: <pre class="brush:[C]">result = ::Component.Property.GetValue(handle, "property")</pre>

Revision as of 15:35, 10 May 2013

<sidebar>API contents</sidebar> Gets the value of a property as a string


Parameters

HANDLE Handle

The component handle of the property owner

STRING Property

The textual name of the property

Return value

STRING

Returns the value of a property as a string

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type STRING
  • Add to a calculation icon:
    result = ::Component.Property.GetValue(handle, "property")