PNode.Item Property

Allows a PNode to be indexed directly to access it's children.

public PNode this[
   int index
] {get; set;}


This provides a shortcut to indexing a node's children. For example, aNode.GetChild(i) is equivalent to aNode[i]. Note that using the indexor to set a child will remove the child currently at that index.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace