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)
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.UmlExtensions
Syntax
public static class UmlExtensions
[ExtensionAttribute]
public ref class UmlExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type UmlExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class UmlExtensions
Methods
Name | Description | |
---|---|---|
AddReference(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. |
|
Delete(IElement) | Deletes this element and any relationships, owned elements, and shapes. |
|
DeleteAllReference(IElement, String) | Remove all the references of a given tag. |
|
GetId(IElement) | Gets a GUID that identifies this element. |
|
GetModelStore(IElement) | Gets the IModelStore that contains this element. |
|
GetModelStore(Store) | Wraps the implementation Store in an IModelStore. |
|
GetReferences(IElement, String) | Get the IReferences of a given tag that are associated with this element. |
|
GetRelatedElements<T>(IElement) | Gets elements related to this element by relationships of the specified type. |
|
GetRelatedLinks<T>(IElement) | Gets relationships of a specified type from or to this element. |
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top