This topic has not yet been rated - Rate this topic

DataViewCommandProvider Class

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

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
[CLSCompliantAttribute(false)]
public class DataViewCommandProvider : DataSiteableObject<IVsDataViewHierarchy>, 
	IVsDataViewCommandProvider, IVsDataSupportObject<IVsDataViewCommandProvider>

The DataViewCommandProvider type exposes the following members.

  NameDescription
Public methodDataViewCommandProviderInitializes a new instance of the DataViewBrowseObjectProvider class.
Top
  NameDescription
Public propertySiteGets or sets the object site. (Inherited from DataSiteableObject<T>.)
Top
  NameDescription
Public methodCreateCommand(Int32, CommandID)Creates a menu command for a Server Explorer menu item.
Protected methodCreateCommand(Int32, CommandID, Object[])Creates a menu command for a Server Explorer menu item containing the specified parameters.
Public methodCreateSelectionCommand(CommandID)Creates a selection menu command for multiple nodes in Server Explorer.
Protected methodCreateSelectionCommand(CommandID, Object[])Creates a selection menu command for multiple nodes in Server Explorer.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnSiteChangedRaises the SiteChanged event. (Inherited from DataSiteableObject<T>.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateCommandStatus(MenuCommand)Updates the status of the specified menu command.
Protected methodUpdateCommandStatus(MenuCommand, Object[])Updates the status of the specified menu command.
Top
  NameDescription
Public eventSiteChangedOccurs when the Site property is changed. (Inherited from DataSiteableObject<T>.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.