Share via


ISchemaViewController.GetPathsToElement Method

Returns a list of paths from the root to a specified model element node in the hierarchy.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Function GetPathsToElement ( _
    element As IModelElement _
) As IList(Of IList(Of IDatabaseSchemaViewNode))
'Usage
Dim instance As ISchemaViewController
Dim element As IModelElement
Dim returnValue As IList(Of IList(Of IDatabaseSchemaViewNode))

returnValue = instance.GetPathsToElement(element)
IList<IList<IDatabaseSchemaViewNode>> GetPathsToElement(
    IModelElement element
)
IList<IList<IDatabaseSchemaViewNode^>^>^ GetPathsToElement(
    IModelElement^ element
)
function GetPathsToElement(
    element : IModelElement
) : IList<IList<IDatabaseSchemaViewNode>>
abstract GetPathsToElement : 
        element:IModelElement -> IList<IList<IDatabaseSchemaViewNode>> 

Parameters

Return Value

Type: System.Collections.Generic.IList<IList<IDatabaseSchemaViewNode>>
Returns a non-null list, which may be empty.

.NET Framework Security

See Also

Reference

ISchemaViewController Interface

ISchemaViewController Members

Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView Namespace