OleMenuCommand::MatchedCommandId Property

 

Gets or sets the command ID.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
property int MatchedCommandId {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The command ID that was most recently used to match this command.

The command id must be set by the subclass when a match occurs and can be used to identify the actual command being invoked.

Return to top
Show: