Template:VIServerHasProperties: Difference between revisions
Appearance
Default to FALSE |
mNo edit summary |
||
| Line 299: | Line 299: | ||
== Usage == | == Usage == | ||
This template is a lookup table. The input is the Class ID of a class in the [[VI Server Class Hierarchy]]. It returns the | This template is a lookup table. The input is the Class ID of a class in the [[VI Server Class Hierarchy]]. It returns the whether the class has any properties {TRUE, FALSE}. | ||
Syntax is as follows: | Syntax is as follows: | ||
| Line 318: | Line 318: | ||
| <code>{{{1}}}</code> | | <code>{{{1}}}</code> | ||
| The Class ID of a class in the [[VI Server Class Hierarchy]]. | | The Class ID of a class in the [[VI Server Class Hierarchy]]. | ||
| <code></code> | | <code>NULL = FALSE</code> | ||
|} | |} | ||
| Line 340: | Line 340: | ||
'''Result:''' {{VIServerHasProperties|82}} | '''Result:''' {{VIServerHasProperties|82}} | ||
'''Example:''' ''Passing a Null'' | |||
Passing a NULL defaults to FALSE. | |||
<code> | |||
<nowiki> | |||
{{VIServerHasProperties}} | |||
</nowiki> | |||
</code> | |||
'''Result:''' {{VIServerHasProperties}} | |||
== See Also == | == See Also == | ||
*[[Template:VIServerGetAncestors]] | *[[Template:VIServerGetAncestors]] | ||
*[[Template:VIServerGetChildren]] | *[[Template:VIServerGetChildren]] | ||
*[[Template:VIServerGetClassName]] | |||
*[[Template:VIServerGetClassType]] | |||
*[[Template:VIServerGetParent]] | |||
*[[Template:VIServerHasEvents]] | |||
*[[Template:VIServerHasMethods]] | |||
</noinclude> | </noinclude> | ||
Revision as of 15:03, 8 September 2019
Usage
This template is a lookup table. The input is the Class ID of a class in the VI Server Class Hierarchy. It returns the whether the class has any properties {TRUE, FALSE}.
Syntax is as follows:
{{VIServerHasProperties|{{{1}}}}}
where:
| Parameter | Description | Default |
|---|---|---|
{{{1}}}
|
The Class ID of a class in the VI Server Class Hierarchy. | NULL = FALSE
|
Example: Control class - Has Properties
{{VIServerHasProperties|6}}
Result: TRUE
Example: TagSet class - Does not have properties
{{VIServerHasProperties|82}}
Result: FALSE
Example: Passing a Null
Passing a NULL defaults to FALSE.
{{VIServerHasProperties}}
Result: FALSE