Share via


DataMenuCommand Class

Definition

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.

Applies to