Condividi tramite


API Reference for UML Modeling Extensibility

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

Assemblies

Assembly What 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.

See Also

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