DataViewCommandProvider Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Important
Cette API n’est pas conforme CLS.
Représente une implémentation de l’interface IVsDataViewCommandProvider.
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
- Héritage
- Attributs
- Implémente
Constructeurs
| DataViewCommandProvider() |
Initialise une nouvelle instance de la classe DataViewBrowseObjectProvider. |
Propriétés
| Site |
Obtient ou définit le site d’objet. (Hérité de DataSiteableObject<T>) |
Méthodes
| CreateCommand(Int32, CommandID) |
Crée une commande de menu pour un élément de menu Server Explorer. |
| CreateCommand(Int32, CommandID, Object[]) |
Crée une commande de menu pour un élément de menu Server Explorer contenant les paramètres spécifiés. |
| CreateSelectionCommand(CommandID) |
Crée une commande de menu de sélection pour plusieurs nœuds dans Server Explorer. |
| CreateSelectionCommand(CommandID, Object[]) |
Crée une commande de menu de sélection pour plusieurs nœuds dans Server Explorer. |
| OnSiteChanged(EventArgs) |
Déclenche l’événement SiteChanged. (Hérité de DataSiteableObject<T>) |
| UpdateCommandStatus(MenuCommand) |
Mises à jour la status de la commande de menu spécifiée. |
| UpdateCommandStatus(MenuCommand, Object[]) |
Mises à jour la status de la commande de menu spécifiée. |
Événements
| SiteChanged |
Se produit lorsque la propriété Site est modifiée. (Hérité de DataSiteableObject<T>) |
Implémentations d’interfaces explicites
| IVsDataSupportObject<IVsDataViewCommandProvider>.Invoke(String, Object[], Object[]) |
Représente une implémentation de l’interface IVsDataViewCommandProvider. |