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