Partager via


CommandSet.ProcessOnMenuDeleteCommand Method

Called when the user clicks the Delete command or presses the Delete key. Deletes an item. Override this method to alter this behavior.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Sub ProcessOnMenuDeleteCommand
protected virtual void ProcessOnMenuDeleteCommand()
protected:
virtual void ProcessOnMenuDeleteCommand()
abstract ProcessOnMenuDeleteCommand : unit -> unit  
override ProcessOnMenuDeleteCommand : unit -> unit
protected function ProcessOnMenuDeleteCommand()

.NET Framework Security

See Also

Reference

CommandSet Class

Microsoft.VisualStudio.Modeling.Shell Namespace