Delen via


ISchemaHierarchyGenerator.PathToElement Method (IModelElement)

Returns a list of hierarchy nodes from the root node to the specified element. These nodes form a "path" to the given element.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Function PathToElement ( _
    element As IModelElement _
) As IList(Of IList(Of ISchemaModelViewerNode))
IList<IList<ISchemaModelViewerNode>> PathToElement(
    IModelElement element
)
IList<IList<ISchemaModelViewerNode^>^>^ PathToElement(
    IModelElement^ element
)
abstract PathToElement : 
        element:IModelElement -> IList<IList<ISchemaModelViewerNode>> 
function PathToElement(
    element : IModelElement
) : IList<IList<ISchemaModelViewerNode>>

Parameters

Return Value

Type: System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
List of hierarchy nodes.

.NET Framework Security

See Also

Reference

ISchemaHierarchyGenerator Interface

PathToElement Overload

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace