Share via


SysContextMenu.getFirstNode Method [AX 2012]

Retrieves the first tree node, but does not affect the current position.

Syntax

public TreeNode getFirstNode()

Run On

Client

Return Value

Type: TreeNode Class
The first tree node object.

Remarks

This method always returns the first tree node object. But this method does not affect the current position. Therefore the fetching action of the next method is not disturbed. This method offers better performance than a call to the first method followed by repositioning.

See Also

Reference

SysContextMenu Class