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
'Déclaration
<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 | |
---|---|---|
CurrentView | Gets the current view of the data view hierarchy. | |
ExplorerConnection | Gets the current connection to Server Explorer. | |
IsConnectionInitialized | Gets a value indicating whether the connection to Server Explorer has been initialized. | |
IsModelInitialized | Gets a value indicating whether the support model is initialized. | |
IsViewSupportInitialized | Gets a value indicating whether the view support object is initialized. | |
Model | Gets the existing support model object. | |
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. | |
PersistentProperties | Gets a collection of name/value pairs of properties that are associated with the current Server Explorer connection and that are saved. | |
ServiceProvider | Gets the current data service provider. | |
ViewSupport | Gets the view support object associated with the current Server Explorer connection. |
Top
Methods
Name | Description | |
---|---|---|
CreateNewItem | Creates a new node in the data view hierarchy. | |
CreateNewItems | Creates the specified number of new nodes in the data view hierarchy. | |
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. | |
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. | |
DiscardItem | Removes the specified node from Server Explorer and de-allocates its corresponding object from memory. | |
GetOtherViewHierarchy | Retrieves the data view hierarchy associated with the given Server Explorer connection. | |
GetProviderImplementation<T> | Creates an implementation of the generic type T from the specified type. | |
GetViewCommonNodeInfo | Returns the IVsDataViewCommonNodeInfo for the specified node. | |
InsertItem(Int32, IVsDataViewSelectionInfo, Int32, array<Object[]) | Inserts the specified node and its child nodes, if any, under the specified parent node. | |
InsertItem(Int32, String, Int32, array<Object[]) | Inserts the specified node under the specified parent node. | |
RemoveItem(Int32) | Removes the specified node from Server Explorer and discards it. | |
RemoveItem(Int32, Boolean) | Removes the specified node from Server Explorer. Optionally, discards the specified node. | |
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