Initializing help system before first use

XPRMObjectsList Class

Generic base-class for lists of objects in Mosel. XPRMObjectsList are read-only and cannot be modified, but they can store any XPRMObject type. Objects in an XPRMObjectsList may be read from a local copy or may be read dynamically from Mosel; the precise action is not defined.. Implemented classes should implement GetData() to populate an ArrayList with their data.
Inheritance Hierarchy
SystemObject
   MoselXPRMObjectBase
     MoselXPRMObjectsList
       MoselXPRMNamedObjectsList
       MoselXPRMProblemComponents

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 5.0.2.0
Syntax
C#
public abstract class XPRMObjectsList : XPRMObjectBase, 
	IList, ICollection, IEnumerable

The XPRMObjectsList type exposes the following members.

Properties
  Name Description
Public property Count
The number of items in the list.
Public property IsFixedSize
True if the list is of fixed size (ie items cannot be added by the user). XPRMObjectsList objects are always of fixed size.
Public property IsReadOnly
True if the list is read-only (ie items cannot be added or removed by the user). XPRMObjectsList objects are always read-only.
Public property IsStatic Obsolete.
Returns TRUE if the collection is backed by an array (and thus static); FALSE if not (and thus the content can change as it's fetched directly from Mosel). This property is supplied to maintain compatibility with older versions; now, it always returns TRUE as XPRMObjectsList objects are always backed by an array.
Public property IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread-safe).
Public property Item
Indexer allowing you to access items in the list by their 0-based index.
Public property Model
Used to fetch the XPRM model to which this object belongs, or else 'null' if there is no model anywhere among this Object's ancestors.
(Inherited from XPRMObjectBase.)
Public property Owner
Used to fetch the XPRM object to which this object belongs
(Inherited from XPRMObjectBase.)
Public property SyncRoot
An object that can be used to synchronize access to the ICollection.
Top
Methods
  Name Description
Public method Add
Not supported by XPRMObjectsList objects.
Public method Clear
Not supported by XPRMObjectsList objects.
Public method Contains
Not supported by XPRMObjectsList objects.
Public method CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Gets an IEnumerator object that can be used to iterate over the objects in this list.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method IndexOf
Not supported by XPRMObjectsList objects.
Public method Insert
Not supported by XPRMObjectsList objects.
Public method MakeStatic Obsolete.
Does nothing; included to retain compatibility with older versions of Mosel .NET interface.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Remove
Not supported by XPRMObjectsList objects.
Public method RemoveAt
Not supported by XPRMObjectsList objects.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference