DataMenuCommand Class

Definition

[SECURITY CRITICAL] 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)

[SECURITY CRITICAL] Initializes a new instance of the DataMenuCommand class, specifying the command identifier.

DataMenuCommand(CommandID, EventHandler)

[SECURITY CRITICAL] Initializes a new instance of the DataMenuCommand class, specifying the command identifier and event.

DataMenuCommand(CommandID, EventHandler, EventHandler)

[SECURITY CRITICAL] Initializes a new instance of the DataMenuCommand class, specifying the command identifier and events.

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