共用方式為


DataViewSelectionMenuCommand Constructors

Definition

Overloads

DataViewSelectionMenuCommand(CommandID, IVsDataViewHierarchy)

Initializes a new instance of the DataViewSelectionMenuCommand class with the command 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, EventHandler, EventHandler, IVsDataViewHierarchy)

Initializes a new instance of the DataViewSelectionMenuCommand class with the command, events, and the view hierarchy.

DataViewSelectionMenuCommand(CommandID, IVsDataViewHierarchy)

Important

This API is not CLS-compliant.

Initializes a new instance of the DataViewSelectionMenuCommand class with the command and the view hierarchy.

public:
 DataViewSelectionMenuCommand(System::ComponentModel::Design::CommandID ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewHierarchy ^ viewHierarchy);
[System.CLSCompliant(false)]
public DataViewSelectionMenuCommand (System.ComponentModel.Design.CommandID command, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy viewHierarchy);
public DataViewSelectionMenuCommand (System.ComponentModel.Design.CommandID command, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy viewHierarchy);
[<System.CLSCompliant(false)>]
new Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand : System.ComponentModel.Design.CommandID * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy -> Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand
new Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand : System.ComponentModel.Design.CommandID * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy -> Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand
Public Sub New (command As CommandID, viewHierarchy As IVsDataViewHierarchy)

Parameters

command
CommandID

A CommandID that uniquely identifies the command.

viewHierarchy
IVsDataViewHierarchy

An IVsDataViewHierarchy containing the collection of selected nodes for one data connection.

Attributes

Applies to

DataViewSelectionMenuCommand(CommandID, EventHandler, IVsDataViewHierarchy)

Important

This API is not CLS-compliant.

Initializes a new instance of the DataViewSelectionMenuCommand class with the command, an event, and the view hierarchy.

public:
 DataViewSelectionMenuCommand(System::ComponentModel::Design::CommandID ^ command, EventHandler ^ handler, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewHierarchy ^ viewHierarchy);
[System.CLSCompliant(false)]
public DataViewSelectionMenuCommand (System.ComponentModel.Design.CommandID command, EventHandler handler, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy viewHierarchy);
public DataViewSelectionMenuCommand (System.ComponentModel.Design.CommandID command, EventHandler handler, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy viewHierarchy);
[<System.CLSCompliant(false)>]
new Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand : System.ComponentModel.Design.CommandID * EventHandler * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy -> Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand
new Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand : System.ComponentModel.Design.CommandID * EventHandler * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy -> Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand
Public Sub New (command As CommandID, handler As EventHandler, viewHierarchy As IVsDataViewHierarchy)

Parameters

command
CommandID

A CommandID that uniquely identifies the command.

handler
EventHandler

The event to raise when the user selects the menu item.

viewHierarchy
IVsDataViewHierarchy

An IVsDataViewHierarchy containing the collection of selected nodes for one data connection.

Attributes

Applies to

DataViewSelectionMenuCommand(CommandID, EventHandler, EventHandler, IVsDataViewHierarchy)

Important

This API is not CLS-compliant.

Initializes a new instance of the DataViewSelectionMenuCommand class with the command, events, and the view hierarchy.

public:
 DataViewSelectionMenuCommand(System::ComponentModel::Design::CommandID ^ command, EventHandler ^ statusHandler, EventHandler ^ handler, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewHierarchy ^ viewHierarchy);
[System.CLSCompliant(false)]
public DataViewSelectionMenuCommand (System.ComponentModel.Design.CommandID command, EventHandler statusHandler, EventHandler handler, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy viewHierarchy);
public DataViewSelectionMenuCommand (System.ComponentModel.Design.CommandID command, EventHandler statusHandler, EventHandler handler, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy viewHierarchy);
[<System.CLSCompliant(false)>]
new Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand : System.ComponentModel.Design.CommandID * EventHandler * EventHandler * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy -> Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand
new Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand : System.ComponentModel.Design.CommandID * EventHandler * EventHandler * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy -> Microsoft.VisualStudio.Data.Framework.DataViewSelectionMenuCommand
Public Sub New (command As CommandID, statusHandler As EventHandler, handler As EventHandler, viewHierarchy As IVsDataViewHierarchy)

Parameters

command
CommandID

A CommandID that uniquely identifies the command.

statusHandler
EventHandler

The event to raise to convey status updates.

handler
EventHandler

The event to raise when the user selects the menu item.

viewHierarchy
IVsDataViewHierarchy

An IVsDataViewHierarchy containing the collection of selected nodes for one data connection.

Attributes

Applies to