NodeCount property: Tree class
Description
This property returns the number of nodes for the tree. A valid tree must have at least one node.
This property can be used only with an open tree, that is, you must open the tree using the Open method before you can use this property.
This property is read-only.