CommonModelingCommands.ModelExplorerAddModelElement Field
Gets the command ID of the Add Model Element command for Model Explorer.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Shared ReadOnly ModelExplorerAddModelElement As CommandID
public static readonly CommandID ModelExplorerAddModelElement
public:
static initonly CommandID^ ModelExplorerAddModelElement
static val ModelExplorerAddModelElement: CommandID
public static final var ModelExplorerAddModelElement : CommandID
Remarks
By using the Add Model Element command, you can add an element, such as a shape or relationship, to a model.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.