UmlExtensions Members

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Extension methods for IElement, which is the superclass of all UML model element types.

The UmlExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member AddReference Links a string to an element, usually where the string is a reference such as a URI, modelbus reference, or work item ID. Use the name to indicate the type of reference. Returns an IReference object that represents the link.
Public methodStatic member Delete Delete the element from the model.
Public methodStatic member DeleteAllReference Remove all references that are linked to this element and that have the given name.
Public methodStatic member GetId
Public methodStatic member GetModelStore Overloaded.
Public methodStatic member GetReferences Gets the Reference objects linked to this element that have the given name.
Public methodStatic member GetRelatedElements<T> Get the elements that are linked to this element through relationships of type T. T can be any relationship type, such as IAssociation or IGeneralization.
Public methodStatic member GetRelatedLinks<T> Get the relationships of type T in which this element participates. T can be any relationship type, such as IAssociation or IGeneralization.

Top

See Also

Reference

UmlExtensions Class

Microsoft.VisualStudio.Uml.Extensions Namespace