DataViewCommandProvider Class
Visual Studio 2012
Provides the ability to implement commands, specifically custom commands, for nodes in a data view.
This API is not CLS-compliant.
System.Object
Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataViewHierarchy>
Microsoft.VisualStudio.Data.Framework.DataViewCommandProvider
Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataViewHierarchy>
Microsoft.VisualStudio.Data.Framework.DataViewCommandProvider
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
The DataViewCommandProvider type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DataViewCommandProvider | Initializes a new instance of the DataViewBrowseObjectProvider class. |
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnSiteChanged | Raises the SiteChanged event. (Inherited from DataSiteableObject<T>.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UpdateCommandStatus(MenuCommand) | Updates the status of the specified menu command. |
![]() | UpdateCommandStatus(MenuCommand, Object[]) | Updates the status of the specified menu command. |
| Name | Description | |
|---|---|---|
![]() | SiteChanged | Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IVsDataSupportObject<IVsDataViewCommandProvider>.Invoke | Invokes the specified command. |





