Share via


ISchemaModelViewerController.GetPathsToElement Method

Returns paths of the specified element in the hierarchy.

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

Syntax

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

Parameters

Return Value

Type: System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
Non-null list (although the list could be empty) that represents the path from the root node to the model element node.

.NET Framework Security

See Also

Reference

ISchemaModelViewerController Interface

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