DataViewSelectionMenuCommand 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 when multiple nodes are selected.
public ref class DataViewSelectionMenuCommand : Microsoft::VisualStudio::Data::Framework::DataViewMenuCommand
public class DataViewSelectionMenuCommand : Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand
type DataViewSelectionMenuCommand = class
inherit DataViewMenuCommand
Public Class DataViewSelectionMenuCommand
Inherits DataViewMenuCommand
- Inheritance
Constructors
DataViewSelectionMenuCommand(CommandID, EventHandler, EventHandler, IVsDataViewHierarchy) |
Initializes a new instance of the DataViewSelectionMenuCommand class with the command, events, and the view hierarchy. |
DataViewSelectionMenuCommand(CommandID, EventHandler, IVsDataViewHierarchy) |
Initializes a new instance of the DataViewSelectionMenuCommand class with the command, an event, and the view hierarchy. |
DataViewSelectionMenuCommand(CommandID, IVsDataViewHierarchy) |
Initializes a new instance of the DataViewSelectionMenuCommand class with the command and the view hierarchy. |
Properties
ItemId |
Gets the item ID. (Inherited from DataViewMenuCommand) |
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) |
Invokes the command with the specified arguments for each node in the selection corresponding to one data connection. |
UpdateStatus() |
[SECURITY CRITICAL] Updates the status of this command based on the common set of status values extracted from all the nodes in the node selection for a data connection. |