TreeNodeIterator Class
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.
The TreeNodeIterator class traverses the child nodes of a tree node.
public ref class TreeNodeIterator : Microsoft::Dynamics::Ax::Xpp::XppObjectBase
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public class TreeNodeIterator : Microsoft.Dynamics.Ax.Xpp.XppObjectBase
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
type TreeNodeIterator = class
inherit XppObjectBase
Public Class TreeNodeIterator
Inherits XppObjectBase
- Inheritance
- Attributes
-
KernelClassAttribute Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute
Remarks
The following example prints the names of all child nodes of the root node.
static void example()
{
treeNode myTreeNode;
xInfo xi = new xInfo();
void printChildNames (treeNode t)
{
treeNode child;
treenodeIterator it;
it = t.AOTiterator();
child = it.next();
while (child)
{
print child.treeNodeName();
child = it.next();
}
}
myTreeNode = xi.rootNode();
printChildNames(myTreeNode);
pause;
}
Constructors
TreeNodeIterator() | |
TreeNodeIterator(IntPtr) |
Fields
__k_TreeNodeIteratorId | |
kernelClass | (Inherited from XppObjectBase) |