SharedDomains


Warning

The SharedDomains functionality may be phased out in the future. Its use is not recommended.

Description

Retrieves a collection of all sharable States collections in a Model object.

Syntax

aModel.SharedDomains(index)
Set aModel.SharedDomains(index) = someStates

Parameter Description
aModel a Model object.
(index) Optional. An integer, or a string, or a States collection specifying the index of the states collection 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 states collection in the collection. A States collection is valid only if it is in the SharedDomains collection.
someStates a States collections from which to copy.

Remarks

Setting replaces the current states of SharedDomains(index) with a copy of someStates.

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

Collections

Indexes, Keys, KeyObjects

Applies To

Model

Also See

Collections and Maps: an Overview