Share via


DataViewHierarchyAccessor Members

Include Protected Members
Include Inherited Members

Represents a set of properties and methods that interact with the data view hierarchy implementation of the IVsUIHierarchy interface.

The DataViewHierarchyAccessor type exposes the following members.

Constructors

 

Name

Description

Public method

DataViewHierarchyAccessor

Class constructor. Initializes a new instance of the DataViewHierarchyAccessor class with an IVsUIHierarchy object instance.

Top

Methods

 

Name

Description

Public method

ActivateDocumentIfOpen

Overloaded.

Public method

CreateObjectNode

Creates a new node in the data view hierarchy, but one without context and that is not placed anywhere in the hierarchy tree.

Public method

DropObjectNode

Drops an existing node that represents an object from the data source from the data view hierarchy.

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 try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetChildSelectionTypes

Retrieves an array of the object types enumerated when a parent node is expanded to show its child nodes.

Public method

GetChildStaticNodeIds

Retrieves an array of the static node IDs that are children of the specified item ID.

Public method

GetCommandStatus

Overloaded.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetItemIdFromNodePath

Infers the item ID of a node in the data view hierarchy given a path to the node.

Public method

GetNodeId

Retrieves the node ID as specified in the data view support XML from an item ID.

Public method

GetNodeName

Retrieves the display name of a specified node.

Public method

GetNodePath

Infers a node path from the location of a node in the data view hierarchy.

Public method

GetObjectIdentifier

Retrieves the data-source-specific identifier of the object associated with the node matching the specified item ID.

Public method

GetObjectProperty

Retrieves a property of a data object associated with the node matching the specified item ID.

Public method

GetObjectType

Retrieves the type of the data object associated with the node matching the specified item ID.

Public method

GetProperty

Retrieves a hierarchy property.

Public method

GetSelectedItems

Retrieves an integer array representing item IDs for currently selected nodes in the tree.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

IsDocumentOpen

Overloaded.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

SetNodePath

Sets the node path for a node identified by a particular item ID.

Public method

SetProperty

Sets a specified hierarchy property.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Connection

Retrieves a DataConnection object instance representing the data connection pertaining to the data view hierarchy.

Public property

Hierarchy

Retrieves an IVsUIHierarchy object instance representing the current hierarchy view.

Public property

SelectedDataView

Retrieves a string representing the currently selected data view.

Public property

ServiceProvider

Retrieves the Visual Studio global service provider being used by the data view hierarchy.

Top

See Also

Reference

DataViewHierarchyAccessor Class

Microsoft.VisualStudio.Data Namespace