OleMenuCommand Members
Include Protected Members
Include Inherited Members
This class is an expansion of the MenuCommand class.
The OleMenuCommand type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
OleMenuCommand(EventHandler, CommandID) | Initializes a new instance of OleMenuCommand for the specified command. |
![]() |
OleMenuCommand(EventHandler, CommandID, String) | Initializes a new instance of OleMenuCommand for the specified command. |
![]() |
OleMenuCommand(EventHandler, EventHandler, CommandID) | Initializes a new instance of OleMenuCommand for the specified command with the specified invocation and status handlers. |
![]() |
OleMenuCommand(EventHandler, EventHandler, CommandID, String) | Initializes a new instance of OleMenuCommand for the specified command with the specified invocation and status handlers. |
![]() |
OleMenuCommand(EventHandler, EventHandler, EventHandler, CommandID) | Initializes a new instance of OleMenuCommand for the specified command with the specified pre-QueryStatus, invocation, and status handlers. |
![]() |
OleMenuCommand(EventHandler, EventHandler, EventHandler, CommandID, String) | Initializes a new instance of OleMenuCommand for the specified command with the specified pre-QueryStatus, invocation, and status handlers. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
DynamicItemMatch | Allows a dynamic item command to match the subsequent items in its list. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Invoke | Invokes the command. (Inherited from MenuCommand.) |
![]() |
Invoke(Object) | Executes the command. (Overrides MenuCommand.Invoke(Object).) |
![]() |
Invoke(Object, IntPtr) | Executes the command. |
![]() |
Invoke(Object, IntPtr, OLECMDEXECOPT) | |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnCommandChanged | Raises the CommandChanged event. (Inherited from MenuCommand.) |
![]() |
ToString | Returns a string representation of this menu command. (Inherited from MenuCommand.) |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Checked | Gets or sets a value indicating whether this menu item is checked. (Inherited from MenuCommand.) |
![]() |
CommandID | Gets the CommandID associated with this menu command. (Inherited from MenuCommand.) |
![]() |
Enabled | Gets a value indicating whether this menu item is available. (Inherited from MenuCommand.) |
![]() |
MatchedCommandId | Gets or sets a the command ID. |
![]() |
OleStatus | Gets the OLE command status code for this menu item. (Overrides MenuCommand.OleStatus.) |
![]() |
ParametersDescription | Gets or sets the description of the parameters of the command. |
![]() |
Properties | Gets the public properties associated with the MenuCommand. (Inherited from MenuCommand.) |
![]() |
Supported | Gets or sets a value indicating whether this menu item is supported. (Inherited from MenuCommand.) |
![]() |
Text | Gets or sets the text for the command. |
![]() |
Visible | Gets or sets a value indicating whether this menu item is visible. (Inherited from MenuCommand.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
BeforeQueryStatus | Called when a client requests the status of the command. |
![]() |
CommandChanged | Occurs when the menu command changes. (Inherited from MenuCommand.) |
Top