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 | |
|---|---|---|
| .gif) | OleMenuCommand(EventHandler, CommandID) | Initializes a new instance of OleMenuCommand for the specified command. | 
| .gif) | OleMenuCommand(EventHandler, CommandID, String) | Initializes a new instance of OleMenuCommand for the specified command. | 
| .gif) | OleMenuCommand(EventHandler, EventHandler, CommandID) | Initializes a new instance of OleMenuCommand for the specified command with the specified invocation and status handlers. | 
| .gif) | OleMenuCommand(EventHandler, EventHandler, CommandID, String) | Initializes a new instance of OleMenuCommand for the specified command with the specified invocation and status handlers. | 
| .gif) | OleMenuCommand(EventHandler, EventHandler, EventHandler, CommandID) | Initializes a new instance of OleMenuCommand for the specified command with the specified pre-QueryStatus, invocation, and status handlers. | 
| .gif) | 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 | |
|---|---|---|
| .gif) | DynamicItemMatch | Allows a dynamic item command to match the subsequent items in its list. | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | 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.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Invoke | Invokes the command. (Inherited from MenuCommand.) | 
| .gif) | Invoke(Object) | Executes the command. (Overrides MenuCommand.Invoke(Object).) | 
| .gif) | Invoke(Object, IntPtr) | Executes the command. | 
| .gif) | Invoke(Object, IntPtr, OLECMDEXECOPT) | |
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | OnCommandChanged | Raises the CommandChanged event. (Inherited from MenuCommand.) | 
| .gif) | ToString | Returns a string representation of this menu command. (Inherited from MenuCommand.) | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Checked | Gets or sets a value indicating whether this menu item is checked. (Inherited from MenuCommand.) | 
| .gif) | CommandID | Gets the CommandID associated with this menu command. (Inherited from MenuCommand.) | 
| .gif) | Enabled | Gets a value indicating whether this menu item is available. (Inherited from MenuCommand.) | 
| .gif) | MatchedCommandId | Gets or sets a the command ID. | 
| .gif) | OleStatus | Gets the OLE command status code for this menu item. (Overrides MenuCommand.OleStatus.) | 
| .gif) | ParametersDescription | Gets or sets the description of the parameters of the command. | 
| .gif) | Properties | Gets the public properties associated with the MenuCommand. (Inherited from MenuCommand.) | 
| .gif) | Supported | Gets or sets a value indicating whether this menu item is supported. (Inherited from MenuCommand.) | 
| .gif) | Text | Gets or sets the text for the command. | 
| .gif) | Visible | Gets or sets a value indicating whether this menu item is visible. (Inherited from MenuCommand.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | BeforeQueryStatus | Called when a client requests the status of the command. | 
| .gif) | CommandChanged | Occurs when the menu command changes. (Inherited from MenuCommand.) | 
Top