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)

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.UmlExtensions

public static class UmlExtensions

NameDescription
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.

System_CAPS_pubmethodSystem_CAPS_staticDelete(IElement)

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.

System_CAPS_pubmethodSystem_CAPS_staticGetId(IElement)

Gets a GUID that identifies this element.

System_CAPS_pubmethodSystem_CAPS_staticGetModelStore(IElement)

Gets the IModelStore that contains this element.

System_CAPS_pubmethodSystem_CAPS_staticGetModelStore(Store)

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.

System_CAPS_pubmethodSystem_CAPS_staticGetRelatedElements<T>(IElement)

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

System_CAPS_pubmethodSystem_CAPS_staticGetRelatedLinks<T>(IElement)

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
Show: