ISchemaHierarchyGenerator Interface
This interface is implemented by classes that can populate a tree view (such as the Database Schema View) with nodes.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Interface ISchemaHierarchyGenerator
[CLSCompliantAttribute(false)]
public interface ISchemaHierarchyGenerator
[CLSCompliantAttribute(false)]
public interface class ISchemaHierarchyGenerator
[<CLSCompliantAttribute(false)>]
type ISchemaHierarchyGenerator = interface end
public interface ISchemaHierarchyGenerator
The ISchemaHierarchyGenerator type exposes the following members.
Properties
Name | Description | |
---|---|---|
DataSchemaModel | Gets or sets the Schema Manager. | |
UserInteractionServices | Gets or sets the user interaction services object. |
Top
Methods
Name | Description | |
---|---|---|
CreateRootNode | Creates the root node of the hierarchy. | |
ElementDeleted | Called when an element has been deleted to provide an opportunity to update the cache. | |
GetCaption | Returns the caption for the specified element node. | |
GetChildren | Returns the child nodes of the specified parent node. | |
GetElementNodesFromCache | Returns only those element nodes that are found in the cache. | |
NodeInUse | Indicates whether the specified node is used by Schema View. | |
NodeRemoved | Called when a node is removed to provide an opportunity to update the cache. | |
PathToElement(IModelElement) | Returns a list of hierarchy nodes from the root node to the specified element. These nodes form a "path" to the given element. | |
PathToElement(IModelElement, Object) | Returns a list of hierarchy nodes from the root node to the specified element that form a "path" to the given element. |
Top
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace