共用方式為


DynamicStatusMenuCommand Class

Definition

Important

This API is not CLS-compliant.

Alias for the VsMenuCommand. It is intendend to reduce the merge conflicts during Lab22dev to Lab23 integrations and must be deleted in Lab23 when the integration is done.

public ref class DynamicStatusMenuCommand : Microsoft::VisualStudio::Shell::OleMenuCommand
[System.CLSCompliant(false)]
public class DynamicStatusMenuCommand : Microsoft.VisualStudio.Shell.OleMenuCommand
public class DynamicStatusMenuCommand : Microsoft.VisualStudio.Shell.OleMenuCommand
[<System.CLSCompliant(false)>]
type DynamicStatusMenuCommand = class
    inherit OleMenuCommand
type DynamicStatusMenuCommand = class
    inherit OleMenuCommand
Public Class DynamicStatusMenuCommand
Inherits OleMenuCommand
Inheritance
DynamicStatusMenuCommand
Attributes

Constructors

DynamicStatusMenuCommand(EventHandler, EventHandler, CommandID)

Construct a new DynamicStatusMenuCommand

Properties

AutomationName (Inherited from OleMenuCommand)
MatchedCommandId

Gets or sets the command ID.

(Inherited from OleMenuCommand)
OleStatus

Gets the OLE command status code for this menu item.

(Inherited from OleMenuCommand)
ParametersDescription

Gets or sets the description of the parameters of the command.

(Inherited from OleMenuCommand)
Text

Gets or sets the text for the command.

(Inherited from OleMenuCommand)

Methods

DynamicItemMatch(Int32)

Allows a dynamic item command to match the subsequent items in its list.

(Inherited from OleMenuCommand)
Invoke(Object, IntPtr, OLECMDEXECOPT)

Executes the command with execution options.

(Inherited from OleMenuCommand)
Invoke(Object, IntPtr)

Executes the command.

(Inherited from OleMenuCommand)
Invoke(Object)

Executes the command.

(Inherited from OleMenuCommand)

Events

BeforeQueryStatus

Called when a client requests the status of the command.

(Inherited from OleMenuCommand)

Applies to