Share via


SysTreeNode::hasSource Method [AX 2012]

Checks whether the _treeNode parameter that is passed has X++ code or any text source in the node.

Syntax

client server public static boolean hasSource(TreeNode _treeNode)

Run On

Called

Parameters

Return Value

Type: boolean
true if the node contains X++ or a text source; otherwise, false.

Remarks

This method is called by various utilities like compare, wash, or scan to inspect the source.

See Also

Reference

SysTreeNode Class