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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Shared ReadOnly ModelExplorerAddModelElement As CommandID
'使用
Dim value As CommandID

value = CommonModelingCommands.ModelExplorerAddModelElement
public static readonly CommandID ModelExplorerAddModelElement
public:
static initonly CommandID^ ModelExplorerAddModelElement
public static final var ModelExplorerAddModelElement : CommandID

Field Value

Type: System.ComponentModel.Design.CommandID

Remarks

By using the Add Model Element command, you can add an element, such as a shape or relationship, to a model.

Permissions

See Also

Reference

CommonModelingCommands Class

CommonModelingCommands Members

Microsoft.VisualStudio.Modeling.Shell Namespace