UmlExtensions Class


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

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)


public static class UmlExtensions

System_CAPS_pubmethodSystem_CAPS_staticAddReference(IElement, String, String, Boolean)

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.


Deletes this element and any relationships, owned elements, and shapes.

System_CAPS_pubmethodSystem_CAPS_staticDeleteAllReference(IElement, String)

Remove all the references of a given tag.


Gets a GUID that identifies this element.


Gets the IModelStore that contains this element.


Wraps the implementation Store in an IModelStore.

System_CAPS_pubmethodSystem_CAPS_staticGetReferences(IElement, String)

Get the IReferences of a given tag that are associated with this element.


Gets elements related to this element by relationships of the specified type.


Gets relationships of a specified type from or to this element.

For more information about UML diagrams, see Create models for your app.

For more information about using the UML API, see Extend UML models and diagrams.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top