Dela via


SchemaModelViewerControllerBaseInternal.GetSelectionPathToElement Method

Gets the path that is used to select the element in Schema View from the hierarchy generator.

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

Syntax

'Declaration
Public Overrides Function GetSelectionPathToElement ( _
    element As IModelElement _
) As IList(Of ISchemaModelViewerNode)
public override IList<ISchemaModelViewerNode> GetSelectionPathToElement(
    IModelElement element
)
public:
virtual IList<ISchemaModelViewerNode^>^ GetSelectionPathToElement(
    IModelElement^ element
) override
abstract GetSelectionPathToElement : 
        element:IModelElement -> IList<ISchemaModelViewerNode> 
override GetSelectionPathToElement : 
        element:IModelElement -> IList<ISchemaModelViewerNode> 
public override 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 to the model element node.

Implements

ISchemaModelViewerController.GetSelectionPathToElement(IModelElement)

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBaseInternal Class

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