DataViewCommandProvider Class

Definition

Important

This API is not CLS-compliant.

Provides the ability to implement commands, specifically custom commands, for nodes in a data view.

public ref class DataViewCommandProvider : Microsoft::VisualStudio::Data::Framework::DataSiteableObject<Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewHierarchy ^>, Microsoft::VisualStudio::Data::Core::IVsDataSupportObject<Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewCommandProvider ^>, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewCommandProvider
[System.CLSCompliant(false)]
public class DataViewCommandProvider : Microsoft.VisualStudio.Data.Framework.DataSiteableObject<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy>, Microsoft.VisualStudio.Data.Core.IVsDataSupportObject<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewCommandProvider>, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewCommandProvider
public class DataViewCommandProvider : Microsoft.VisualStudio.Data.Framework.DataSiteableObject<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy>, Microsoft.VisualStudio.Data.Core.IVsDataSupportObject<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewCommandProvider>, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewCommandProvider
[<System.CLSCompliant(false)>]
type DataViewCommandProvider = class
    inherit DataSiteableObject<IVsDataViewHierarchy>
    interface IVsDataViewCommandProvider
    interface IVsDataSupportObject<IVsDataViewCommandProvider>
type DataViewCommandProvider = class
    inherit DataSiteableObject<IVsDataViewHierarchy>
    interface IVsDataViewCommandProvider
    interface IVsDataSupportObject<IVsDataViewCommandProvider>
Public Class DataViewCommandProvider
Inherits DataSiteableObject(Of IVsDataViewHierarchy)
Implements IVsDataSupportObject(Of IVsDataViewCommandProvider), IVsDataViewCommandProvider
Inheritance
Attributes
Implements

Constructors

DataViewCommandProvider()

Initializes a new instance of the DataViewBrowseObjectProvider class.

Properties

Site

Gets or sets the object site.

(Inherited from DataSiteableObject<T>)

Methods

CreateCommand(Int32, CommandID)

Creates a menu command for a Server Explorer menu item.

CreateCommand(Int32, CommandID, Object[])

Creates a menu command for a Server Explorer menu item containing the specified parameters.

CreateSelectionCommand(CommandID)

Creates a selection menu command for multiple nodes in Server Explorer.

CreateSelectionCommand(CommandID, Object[])

Creates a selection menu command for multiple nodes in Server Explorer.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from DataSiteableObject<T>)
UpdateCommandStatus(MenuCommand)

Updates the status of the specified menu command.

UpdateCommandStatus(MenuCommand, Object[])

Updates the status of the specified menu command.

Events

SiteChanged

Occurs when the Site property is changed.

(Inherited from DataSiteableObject<T>)

Explicit Interface Implementations

IVsDataSupportObject<IVsDataViewCommandProvider>.Invoke(String, Object[], Object[])

Applies to