Jump to content

Template:VIServerHasProperties: Difference between revisions

From LabVIEW Wiki
mNo edit summary
m Move documentation to subpage
 
Line 295: Line 295:
|16552=TRUE
|16552=TRUE
|16553=TRUE
|16553=TRUE
|FALSE}}</includeonly><noinclude>
|FALSE}}</includeonly><noinclude>{{documentation}}</noinclude>
 
== 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:
 
<code>
<nowiki>
{{VIServerHasProperties|{{{1}}}}}
</nowiki>
</code>
 
where:
 
{| class="wikitable"
! Parameter
! Description
! Default
|-
| <code>{{{1}}}</code>
| The Class ID of a class in the [[VI Server Class Hierarchy]].
| <code>NULL = FALSE</code>
|}
 
'''Example:''' ''[[{{VIServerGetClassName|6}} class]] - Has Properties''
 
<code>
<nowiki>
{{VIServerHasProperties|6}}
</nowiki>
</code>
 
'''Result:''' {{VIServerHasProperties|6}}
 
'''Example:''' ''[[{{VIServerGetClassName|82}} class]] - Does not have properties''
 
<code>
<nowiki>
{{VIServerHasProperties|82}}
</nowiki>
</code>
 
'''Result:''' {{VIServerHasProperties|82}}
 
'''Example:''' ''Passing a Null''
 
Passing a NULL defaults to FALSE.
 
<code>
<nowiki>
{{VIServerHasProperties}}
</nowiki>
</code>
 
'''Result:''' {{VIServerHasProperties}}
 
== See Also ==
*[[Template:VIServerGetAncestors]]
*[[Template:VIServerGetChildren]]
*[[Template:VIServerGetClassName]]
*[[Template:VIServerGetClassType]]
*[[Template:VIServerGetParent]]
*[[Template:VIServerHasEvents]]
*[[Template:VIServerHasMethods]]
</noinclude>

Latest revision as of 17:01, 1 August 2024