Share via


DataViewSelectionMenuCommand Class

Definition

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
DataViewSelectionMenuCommand

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.

Applies to