Delen via


SchemaModelViewerControllerBase.GetSelectionPathToElement Method

Returns the path for the specified element that is used when you 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
Public MustOverride Function GetSelectionPathToElement ( _
    element As IModelElement _
) As IList(Of ISchemaModelViewerNode)
public abstract IList<ISchemaModelViewerNode> GetSelectionPathToElement(
    IModelElement element
)
public:
virtual IList<ISchemaModelViewerNode^>^ GetSelectionPathToElement(
    IModelElement^ element
) abstract
abstract GetSelectionPathToElement : 
        element:IModelElement -> IList<ISchemaModelViewerNode> 
public abstract function GetSelectionPathToElement(
    element : IModelElement
) : IList<ISchemaModelViewerNode>

Parameters

Return Value

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

Implements

ISchemaModelViewerController.GetSelectionPathToElement(IModelElement)

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBase Class

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