CommandSet.ProcessOnStatusEditCompartmentItemCommand Method
Determines whether the Edit command appears on the context menu.
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 ProcessOnStatusEditCompartmentItemCommand ( _
command As MenuCommand _
)
protected virtual void ProcessOnStatusEditCompartmentItemCommand(
MenuCommand command
)
protected:
virtual void ProcessOnStatusEditCompartmentItemCommand(
MenuCommand^ command
)
abstract ProcessOnStatusEditCompartmentItemCommand :
command:MenuCommand -> unit
override ProcessOnStatusEditCompartmentItemCommand :
command:MenuCommand -> unit
protected function ProcessOnStatusEditCompartmentItemCommand(
command : MenuCommand
)
Parameters
command
Type: System.ComponentModel.Design.MenuCommandSet 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.