DataViewMenuCommand 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 a base implementation for menu commands offered by high level or context menus as part of a data view hierarchy.
public ref class DataViewMenuCommand : Microsoft::VisualStudio::Data::Framework::DataMenuCommand
public class DataViewMenuCommand : Microsoft.VisualStudio.Data.Framework.DataMenuCommand
type DataViewMenuCommand = class
inherit DataMenuCommand
Public Class DataViewMenuCommand
Inherits DataMenuCommand
- Inheritance
- Derived
Constructors
DataViewMenuCommand(Int32, CommandID, EventHandler, EventHandler) |
Initializes a new instance of the DataMenuCommand class, specifying the item ID, command identifier, and events. |
DataViewMenuCommand(Int32, CommandID, EventHandler) |
Initializes a new instance of the DataMenuCommand class, specifying the item ID, command identifier, and event. |
DataViewMenuCommand(Int32, CommandID) |
Initializes a new instance of the DataViewMenuCommand class, specifying the item ID and command identifier. |
Properties
ItemId |
Gets the item ID. |
Text |
[SECURITY CRITICAL] Retrieves the Text property of the menu command. (Inherited from DataMenuCommand) |
Methods
Invoke() |
[SECURITY CRITICAL] Invokes the menu command. (Inherited from DataMenuCommand) |
Invoke(Object) |
[SECURITY CRITICAL] Invokes the menu command with the given parameter. (Inherited from DataMenuCommand) |
UpdateStatus() |
[SECURITY CRITICAL] Updates the status of the command and raises the appropriate event. (Inherited from DataMenuCommand) |