DataMenuCommand Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an extended MenuCommand class to support status updates.
public ref class DataMenuCommand : System::ComponentModel::Design::MenuCommand
[System.Security.SecurityCritical]
public class DataMenuCommand : System.ComponentModel.Design.MenuCommand
[<System.Security.SecurityCritical>]
type DataMenuCommand = class
inherit MenuCommand
Public Class DataMenuCommand
Inherits MenuCommand
- Inheritance
-
DataMenuCommand
- Derived
- Attributes
Constructors
DataMenuCommand(CommandID, EventHandler, EventHandler) |
[SECURITY CRITICAL] Initializes a new instance of the DataMenuCommand class, specifying the command identifier and events. |
DataMenuCommand(CommandID, EventHandler) |
[SECURITY CRITICAL] Initializes a new instance of the DataMenuCommand class, specifying the command identifier and event. |
DataMenuCommand(CommandID) |
[SECURITY CRITICAL] Initializes a new instance of the DataMenuCommand class, specifying the command identifier. |
Properties
Text |
[SECURITY CRITICAL] Retrieves the Text property of the menu command. |
Methods
Invoke() |
[SECURITY CRITICAL] Invokes the menu command. |
Invoke(Object) |
[SECURITY CRITICAL] Invokes the menu command with the given parameter. |
UpdateStatus() |
[SECURITY CRITICAL] Updates the status of the command and raises the appropriate event. |