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
Inheritance Hierarchy
 SystemObject
 
MoselXPRMObjectBase
MoselXPRMObjectsList
MoselXPRMNamedObjectsList
MoselXPRMProblemComponents
MoselXPRMObjectBase
MoselXPRMObjectsList
MoselXPRMNamedObjectsList
MoselXPRMProblemComponents
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 4.8.3.0
 Syntax
Syntax
    C#
   
  public abstract class XPRMObjectsList : XPRMObjectBase, IList, ICollection, IEnumerable
The XPRMObjectsList type exposes the following members.
 Properties
Properties
| Name | Description | |
|---|---|---|
|  | Count | 
       The number of items in the list. 
      | 
|  | IsFixedSize | 
       True if the list is of fixed size (ie items cannot be added by the user). XPRMObjectsList objects are always of fixed size. 
      | 
|  | IsReadOnly | 
       True if the list is read-only (ie items cannot be added or removed by the user). XPRMObjectsList objects are always read-only. 
      | 
|  | 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. 
      | 
|  | IsSynchronized | 
       Gets a value indicating whether access to the ICollection is synchronized (thread-safe). 
      | 
|  | Item | 
       Indexer allowing you to access items in the list by their 0-based index. 
      | 
|  | 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.) | 
|  | Owner | 
       Used to fetch the XPRM object to which this object belongs 
     (Inherited from XPRMObjectBase.) | 
|  | SyncRoot | 
       An object that can be used to synchronize access to the 
      ICollection. 
      | 
 Methods
Methods
| Name | Description | |
|---|---|---|
|  | Add | 
       Not supported by XPRMObjectsList objects. 
      | 
|  | Clear | 
       Not supported by XPRMObjectsList objects. 
      | 
|  | Contains | 
       Not supported by XPRMObjectsList objects. 
      | 
|  | CopyTo | 
       Copies the elements of the ICollection to an Array, starting at a particular Array index. 
      | 
|  | Equals | (Inherited from Object.) | 
|  | Finalize | 
       Allows an 
      Object to attempt to free resources and perform other cleanup operations before the 
      Object is reclaimed by garbage collection. 
     (Inherited from Object.) | 
|  | GetEnumerator | 
       Gets an 
      IEnumerator object that can be used to iterate over the objects in this list. 
      | 
|  | GetHashCode | 
       Serves as a hash function for a particular type. 
     (Inherited from Object.) | 
|  | GetType | 
       Gets the 
      Type of the current instance. 
     (Inherited from Object.) | 
|  | IndexOf | 
       Not supported by XPRMObjectsList objects. 
      | 
|  | Insert | 
       Not supported by XPRMObjectsList objects. 
      | 
|  | MakeStatic | Obsolete. 
       Does nothing; included to retain compatibility with older versions of Mosel .NET interface. 
      | 
|  | MemberwiseClone | 
       Creates a shallow copy of the current 
      Object. 
     (Inherited from Object.) | 
|  | Remove | 
       Not supported by XPRMObjectsList objects. 
      | 
|  | RemoveAt | 
       Not supported by XPRMObjectsList objects. 
      | 
|  | ToString | (Inherited from Object.) | 
 See Also
See Also
 
