xInfo.projectRootNode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the X++ Projects node.
public:
virtual Dynamics::AX::Application::TreeNode ^ projectRootNode();
public virtual Dynamics.AX.Application.TreeNode projectRootNode ();
abstract member projectRootNode : unit -> Dynamics.AX.Application.TreeNode
override this.projectRootNode : unit -> Dynamics.AX.Application.TreeNode
Public Overridable Function projectRootNode () As TreeNode
Returns
The tree node that contains the X++ projects.
Remarks
The following example prints out the names of all the projects in the Shared projects folder.
void ProjectNames()
{
Treenode treenode;
TreenodeIterator it;
treenode = infolog.projectRootNode();
treenode = treenode.AOTfindChild("Shared");
it = treenode.AOTiterator();
while (treenode)
{
print treenode.treeNodeName();
treenode = it.next();
}
pause;
}