ModelNodes


Description

Retrieves a collection of all Node objects in a Model object.

Syntax

aModel.ModelNodes(index)

Parameter Description
aModel a Model 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 ModelNodes collection.

 

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

CountDescription, ExistingKey, Item, Model, MSBN, Ref

Methods

Add, Remove, LegalNodeName

Collections

Indexes, Keys, KeyObjects

Events

See events ModelNodesAdd and ModelNodesRemove of Model.

Also See

Collections and Maps: an Overview