XPRMNamedObjectsList Class
  Class to define a collection of 
 XPRMNamed objects. Objects in an XPRMNamedObjectsList list may be read from a local copy or may be read dynamically from Mosel; the precise action is not defined.. An XPRMNamedObjectsList list includes an indexer property you can use to find a named object quickly. 
 Inheritance Hierarchy
Inheritance Hierarchy
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 4.8.0.0
 Syntax
Syntax
    C#
   
  public abstract class XPRMNamedObjectsList : XPRMObjectsList
The XPRMNamedObjectsList type exposes the following members.
 Properties
Properties
| Name | Description | |
|---|---|---|
|  | Count | 
       The number of items in the list. 
     (Inherited from XPRMObjectsList.) | 
|  | IsFixedSize | 
       True if the list is of fixed size (ie items cannot be added by the user). XPRMObjectsList objects are always of fixed size. 
     (Inherited from XPRMObjectsList.) | 
|  | IsReadOnly | 
       True if the list is read-only (ie items cannot be added or removed by the user). XPRMObjectsList objects are always read-only. 
     (Inherited from XPRMObjectsList.) | 
|  | 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. 
     (Inherited from XPRMObjectsList.) | 
|  | IsSynchronized | 
       Gets a value indicating whether access to the ICollection is synchronized (thread-safe). 
     (Inherited from XPRMObjectsList.) | 
|  | ItemInt32 | 
       Indexer to allow easy access to an 
      XPRMIdentifier by its 0-based position in the list. 
      | 
|  | ItemString | 
       Indexer allowing you to access items in the list by their name. Default implementation iterates through the list until the sought object is found, but subclasses may provide their own, more efficient, implementations. 
      | 
|  | 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. 
     (Inherited from XPRMObjectsList.) | 
 Methods
Methods
| Name | Description | |
|---|---|---|
|  | Add | 
       Not supported by XPRMObjectsList objects. 
     (Inherited from XPRMObjectsList.) | 
|  | Clear | 
       Not supported by XPRMObjectsList objects. 
     (Inherited from XPRMObjectsList.) | 
|  | Contains | 
       Not supported by XPRMObjectsList objects. 
     (Inherited from XPRMObjectsList.) | 
|  | CopyTo | 
       Copies the elements of the ICollection to an Array, starting at a particular Array index. 
     (Inherited from XPRMObjectsList.) | 
|  | 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. 
     (Inherited from XPRMObjectsList.) | 
|  | 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. 
     (Inherited from XPRMObjectsList.) | 
|  | Insert | 
       Not supported by XPRMObjectsList objects. 
     (Inherited from XPRMObjectsList.) | 
|  | MakeStatic | Obsolete. 
       Does nothing; included to retain compatibility with older versions of Mosel .NET interface. 
     (Inherited from XPRMObjectsList.) | 
|  | MemberwiseClone | 
       Creates a shallow copy of the current 
      Object. 
     (Inherited from Object.) | 
|  | Remove | 
       Not supported by XPRMObjectsList objects. 
     (Inherited from XPRMObjectsList.) | 
|  | RemoveAt | 
       Not supported by XPRMObjectsList objects. 
     (Inherited from XPRMObjectsList.) | 
|  | ToString | (Inherited from Object.) | 
 See Also
See Also
Reference
 Inheritance Hierarchy
Inheritance Hierarchy
 
