Share via


ISchemaModelViewerController.GetSelectionPathToElement Method

Returns the path for the element that is used to navigate to the element in Schema View.

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

Syntax

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

Parameters

Return Value

Type: System.Collections.Generic.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