Difference between revisions of "API Component.Property.CopyFilter"
From Flowcode Help
Jump to navigationJump to search (XML import of updated API docs) |
|||
Line 1: | Line 1: | ||
+ | |||
+ | |||
<sidebar>API contents</sidebar> | <sidebar>API contents</sidebar> | ||
Copies a property filter from one target to another | Copies a property filter from one target to another | ||
Line 46: | Line 48: | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.CopyFilter(source, dest, "property")</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.CopyFilter(source, dest, "property")</pre> | ||
− | ''<span style="color:red;">No additional | + | ''<span style="color:red;">No additional examples</span>'' |
Revision as of 09:58, 17 June 2013
<sidebar>API contents</sidebar>
Copies a property filter from one target to another
Contents
Parameters
HANDLE Source
- The source component to copy from
HANDLE Dest
- The target component to copy to
STRING Property
- The textual name of the property
Return value
No additional information
Detailed description
This copies a properties filter for the named Property from the Source component to the Dest. It is provided for convenience.
An equivalent call using SetFilter from this to a dest component may be:
- ::Component.Property.SetFilter(dest, "property", this::property)
And from any component to another:
- value = ::Component.Property.GetFilter(source, "property")
- ::Component.Property.SetFilter(dest, "property", value)
Examples
Calling in a calculation
- Declare a variable 'result' of type STRING
- Add to a calculation icon:
result = ::Component.Property.CopyFilter(source, dest, "property")
No additional examples