ModelCollection Methods

The ModelCollection type exposes the following members.

  NameDescription
Public method Add Inserts a design element or relationship into the model collection.
Public method AddElement Inserts a design element into the model collection.
Public method AddRelationship Inserts a relationship into the model collection.
Public method Clear Removes all elements from the model collection.
Public method Clone Initializes a new instance of the ModelCollection class based on the this instance.
Public method Contains Determines whether a design element is in the ModelCollection class instance.
Public method CopyTo Copies the elements of the model collection to an array, starting at a particular array index.
Public method Equals Determines whether the specified ModelCollection instance is equal to the current ModelCollection class instance. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetElement Gets a design element by unique identification.
Public method GetElementCollection Gets the design elements as an array list collection.
Public method GetEnumerator Retrieves an enumerator that iterates through the model collection.
Public method GetHashCode Retrieves a value that indicates the hash code value for the ModelCollection instance. (Overrides Object.GetHashCode().)
Public method GetRelationship Gets a relationship by unique identification.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Sets property references when the deserialization is completed.
Public method Remove Removes the design element that has the specified key from the model collection.
Public method RemoveElement Overloaded.
Public method RemoveRelationship Removes a relationship from the model collection.
Public method ToString (Inherited from Object.)
Public method TryGetElement Tries to get a design element by using a unique identification.
Public method TryGetRelationship Tries to get a relationship by using a unique identification.
Public method Validate Validates the property value in the model collection.
Top

Community Additions

ADD
Show: