共用方式為


API Reference for Modeling SDK for Visual Studio

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

The Visual Studio Visualization and Modeling SDK provides the platform on which your domain-specific languages (DSL) and the UML tools are built.

Note

For information about the UML modeling API, see API Reference for UML Modeling Extensibility. For information about text transformation, see Customizing T4 Text Transformation.

This section contains reference material for namespaces that have names that begin with "Microsoft.VisualStudio.Modeling".

Namespace Content
Microsoft.VisualStudio.Modeling Classes such as ModelElement, which is the base class of all domain classes that you define in a DSL.
Microsoft.VisualStudio.Modeling.Design Classes that form part of a DSL definition.
Microsoft.VisualStudio.Modeling.Diagnostics The model Store Viewer and performance measurement tools.
Microsoft.VisualStudio.Modeling.Diagrams Classes such as ShapeElement, which is the base class of all shapes that you define in a DSL.
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Gesture and Selection methods.
Microsoft.VisualStudio.Modeling.DslDefinition The API of the DSL Definition designer.
Microsoft.VisualStudio.Modeling.DslDefinition.Design Internal classes of the DSL Definition designer.
Microsoft.VisualStudio.Modeling.DslDefinition.ExtensionEnablement Attributes that allow you to extend the DSL designer with commands, gestures and validation.
Microsoft.VisualStudio.Modeling.Extensibility Extension methods for ModelElement that implement DSL Extensibility.
Microsoft.VisualStudio.Modeling.ExtensionEnablement Extensibility attributes
Microsoft.VisualStudio.Modeling.Immutability Lets you make parts of a model read-only.
Microsoft.VisualStudio.Modeling.Integration The Modelbus API, which helps you integrate different models.
Microsoft.VisualStudio.Modeling.Integration.Picker The dialog box that lets users navigate to models and elements to create Modelbus references.
Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting The Picker service.
Microsoft.VisualStudio.Modeling.Integration.Shell Modelbus adapter framework for Visual Studio.
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker The Picker dialog box that lets users navigate to models and elements to create Modelbus references.
Microsoft.VisualStudio.Modeling.Shell The interface between DSLs and Visual Studio.
Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement Lets you define shortcut (context) menu commands.
Microsoft.VisualStudio.Modeling.Validation Lets you define validation constraints.

See also