ParentNodes
Description
Retrieves a collection of all Node objects that are parents of a Node object.
Syntax
Getting:
aNode.ParentNodes
aNode.ParentNodes(index)
Setting:
Set aNode.ParentNodes = someParentNodes
Parameter Description aNode a Node object. (index) Optional. An integer, or a string, or a Node object specifying the index value of the node to retrieve. Integer indexes are zero-based, meaning the first node in the collection has index 0. A string index is valid only if the string is the name of a node in the collection. A Node object is valid only if it is in the ParentNodes collection. someParentNodes Replaces the nodes current parents with the parent nodes in someParentNodes. Examples
Remarks
As with all MSBN3 collections, the elements of this collection can be enumerated. Also, as with other MSBN3 collections, the index numbers, key strings, and key objects of this collection can be enumerated. See "Collections and Maps: an Overview" for details.
Properties
Count, Description, ExistingKey, Item, Model, MSBN, Node, Ref
Methods
Collections
Applies To
Events
See events NodeParentNodesAdd, NodeParentNodesRemove, and NodeParentNodeSetName of Model.
Also See