API Reference for UML Modeling Extensibility


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at API Reference for UML Modeling Extensibility.

You can write program code to read and modify the models that you create with Visual Studio. The API reference provides information about the specific classes to help you with this. For more task-oriented information, see the topics under Extend UML models and diagrams. To see which versions of Visual Studio support UML models, see Version support for architecture and modeling tools.

AssemblyWhat this allows you to do
Microsoft.VisualStudio.Uml.Interfaces.dll- Read and change model elements such as IUseCase, IAssociation, and so on.
- Navigate relationships between elements.

The namespaces and types correspond to those that are defined in the UML Specification.
Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll- Create new instances of model elements
- Access and modify shapes and diagrams.

Extend UML models and diagrams
API Reference for Modeling SDK for Visual Studio