DataViewCommandHandler Members

Include Protected Members
Include Inherited Members

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

The DataViewCommandHandler type exposes the following members.

Constructors

Name Description
Public method DataViewCommandHandler Class constructor. Instantiates a new instance of the DataViewCommandHandler class.

Top

Methods

Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExecuteCommand Overloaded.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCommandStatus Retrieves the status of the commands executing on the specified items.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSiteChanged Raises the SiteChanged event. (Inherited from ObjectWithSite.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

Name Description
Protected property DataViewHierarchyAccessor Retrieves a DataViewHierarchyAccessor object instance, which provides managed accessors to the IVsHierarchy object that implements the data view hierarchy.
Public property Site Retrieves or sets the object site. (Inherited from ObjectWithSite.)

Top

Events

Name Description
Public event SiteChanged Event that is raised when the Site property is changed. (Inherited from ObjectWithSite.)

Top

Explicit Interface Implementations

Name Description
Explicit interface implemetationPrivate method IObjectWithSite.GetSite Retrieves the last site set using the IObjectWithSite.SetSite method. In cases where there is no known site, the object returns an exception. (Inherited from ObjectWithSite.)
Explicit interface implemetationPrivate method IObjectWithSite.SetSite Provides the site's pointer to the site object. (Inherited from ObjectWithSite.)

Top

See Also

Reference

DataViewCommandHandler Class

Microsoft.VisualStudio.Data Namespace