Jump to content

Template:VIServerHasMethods/doc: Difference between revisions

From LabVIEW Wiki
Created page with "<noinclude>{{documentation subpage}}</noinclude> == Usage == This template is a lookup table. The input is the Class ID of a class in the VI Server Class Hierarchy. It..."
 
m Fix category name Template -> Templates
 
Line 66: Line 66:


<includeonly>
<includeonly>
[[Category:Template]]
[[Category:Templates]]
</includeonly>
</includeonly>

Latest revision as of 17:30, 1 August 2024

This is the documentation page for Template:VIServerHasMethods.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

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 methods {TRUE, FALSE}.

Syntax is as follows:

{{VIServerHasMethods|{{{1}}}}}

where:

Parameter Description Default
{{{1}}} The Class ID of a class in the VI Server Class Hierarchy. NULL = FALSE

Example: Control class - Has methods

{{VIServerHasMethods|6}}

Result: TRUE

Example: Decoration class - Does not have methods

{{VIServerHasMethods|4}}

Result: FALSE

Example: Passing a Null

Passing a NULL defaults to FALSE.

{{VIServerHasMethods}}

Result: FALSE

See Also