kasceblast.blogg.se

How to use icollections enterprise
How to use icollections enterprise




how to use icollections enterprise

Notes: Refreshes the collection by re-querying the model and reloading the collection. Notes: Returns a string value describing the most recent error that occurred in relation to this object. Package Class Element Class Diagram Class TaggedValue Class For other collections, if the method is unable to find an object with the specified name, it raises an exception. If the collection does not contain any items (or, for the Tagged Value collection, if the collection contains items but the method cannot locate an object with the specified name) the method returns a null value. Supported for Model, Package, Element, Diagram and element TaggedValue collections. Notes: Gets an item in the current collection by name. If the index is out of bounds, an error occurs. Notes: Retrieves the array object using a numerical index. The second parameter is currently unused. Notes: Deletes the item at the selected index. Notes: Deletes the item at the selected reference. Type: String (up to 30 characters long).If Update() is not called the object is left in an indeterminate state. For example, when adding a new element to the Elements collection, the Type string can be either a basic UML element type or a fully qualified element type (stereotype) defined by a profile, such as SysML::Requirement, differentiating it from a standard requirement.Īlso note that you must call Update() on the returned object to complete the AddNew function. What these arguments are used for depends on the actual collection being accessed. The interface is the same for all collections you must provide a Name and Type argument.

how to use icollections enterprise

Notes: Adds a new item to the current collection.






How to use icollections enterprise