API Component.Property.GetValue: Difference between revisions
Appearance
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.Property|Property]] | :[[API Component.Property|Property]] | ||
::[[API Component.Property|GetValue]] | ::[[API Component.Property|GetValue]] | ||
| Line 10: | Line 11: | ||
==Parameters== | ==Parameters== | ||
[[Variable types|HANDLE]] ''Handle'' | |||
:The component handle of the property owner | :The component handle of the property owner | ||
[[Variable types|STRING]] ''Property'' | |||
:The textual name of the property | :The textual name of the property | ||
| Line 22: | Line 23: | ||
==Detailed description== | ==Detailed description== | ||
''No additional information'' | ''<span style="color:red;">No additional information</span>'' | ||
==Examples== | ==Examples== | ||
| Line 28: | Line 30: | ||
* Declare a variable 'result' of type STRING | * Declare a variable 'result' of type STRING | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.GetValue(handle, "property")</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.GetValue(handle, "property")</pre> | ||
''<span style="color:red;">No additional information</span>'' | |||
Revision as of 22:07, 11 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
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")
No additional information