共用方式為


OleCommand Class

Definition

Provides a managed wrapper around the identifier of an OLE command.

public ref class OleCommand
public class OleCommand
type OleCommand = class
Public Class OleCommand
Inheritance
OleCommand

Constructors

OleCommand(Guid, Int32)

Class constructor. Initializes a new instance of the OleCommand class with command group identifier and command identifier.

Properties

CommandId

Retrieves the ID of the command from within the specified menu group.

GroupGuid

Retrieves the menu group GUID for the specified command.

Applies to