CommandSet.ProcessOnStatusDeleteCommand Method
Determines whether the Delete command appears on the context menu. Called when the user right-clicks over the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Overridable Sub ProcessOnStatusDeleteCommand ( _
command As MenuCommand _
)
protected virtual void ProcessOnStatusDeleteCommand(
MenuCommand command
)
protected:
virtual void ProcessOnStatusDeleteCommand(
MenuCommand^ command
)
abstract ProcessOnStatusDeleteCommand :
command:MenuCommand -> unit
override ProcessOnStatusDeleteCommand :
command:MenuCommand -> unit
protected function ProcessOnStatusDeleteCommand(
command : MenuCommand
)
Parameters
- command
Type: System.ComponentModel.Design.MenuCommand
Set the Visible and Enabled properties to determine whether the command appears on the menu.
.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.