Compartir a través de


IVsDataViewHierarchy Interface

Represents the ability of a provider to manipulate a Server Explorer connection through its implementation as a data view hierarchy.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface IVsDataViewHierarchy
[CLSCompliantAttribute(false)]
public interface IVsDataViewHierarchy
[CLSCompliantAttribute(false)]
public interface class IVsDataViewHierarchy
[<CLSCompliantAttribute(false)>]
type IVsDataViewHierarchy =  interface end
public interface IVsDataViewHierarchy

The IVsDataViewHierarchy type exposes the following members.

Properties

  Name Description
Public property CurrentView Gets the current view of the data view hierarchy.
Public property ExplorerConnection Gets the current connection to Server Explorer.
Public property IsConnectionInitialized Gets a value indicating whether the connection to Server Explorer has been initialized.
Public property IsModelInitialized Gets a value indicating whether the support model is initialized.
Public property IsViewSupportInitialized Gets a value indicating whether the view support object is initialized.
Public property Model Gets the existing support model object.
Public property PersistentCommands Gets a collection of name/value pairs of commands that are associated with the current Server Explorer connection and that are saved in the registry.
Public property PersistentProperties Gets a collection of name/value pairs of properties that are associated with the current Server Explorer connection and that are saved.
Public property ServiceProvider Gets the current data service provider.
Public property ViewSupport Gets the view support object associated with the current Server Explorer connection.

Top

Methods

  Name Description
Public method CreateNewItem Creates a new node in the data view hierarchy.
Public method CreateNewItems Creates the specified number of new nodes in the data view hierarchy.
Public method DelayInsertItem(String, IVsDataViewSelectionInfo, Int32, array<Object[]) Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.
Public method DelayInsertItem(String, String, Int32, array<Object[]) Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.
Public method DiscardItem Removes the specified node from Server Explorer and de-allocates its corresponding object from memory.
Public method GetOtherViewHierarchy Retrieves the data view hierarchy associated with the given Server Explorer connection.
Public method GetProviderImplementation<T> Creates an implementation of the generic type T from the specified type.
Public method GetViewCommonNodeInfo Returns the IVsDataViewCommonNodeInfo for the specified node.
Public method InsertItem(Int32, IVsDataViewSelectionInfo, Int32, array<Object[]) Inserts the specified node and its child nodes, if any, under the specified parent node.
Public method InsertItem(Int32, String, Int32, array<Object[]) Inserts the specified node under the specified parent node.
Public method RemoveItem(Int32) Removes the specified node from Server Explorer and discards it.
Public method RemoveItem(Int32, Boolean) Removes the specified node from Server Explorer. Optionally, discards the specified node.
Public method SetNewItemSaveName Sets the name for use when saving the specified node.

Top

Remarks

This interface is implemented as a built-in DDEX service.

See Also

Reference

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace