SchemaViewControllerBase.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
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

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

returnValue = instance.GetPathsToElement(element)
public virtual IList<IList<IDatabaseSchemaViewNode>> GetPathsToElement(
    IModelElement element
)
public:
virtual IList<IList<IDatabaseSchemaViewNode^>^>^ GetPathsToElement(
    IModelElement^ element
)
public function GetPathsToElement(
    element : IModelElement
) : IList<IList<IDatabaseSchemaViewNode>>
abstract GetPathsToElement : 
        element:IModelElement -> IList<IList<IDatabaseSchemaViewNode>> 
override 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.

Implements

ISchemaViewController.GetPathsToElement(IModelElement)

Remarks

Returns an empty list by default.

.NET Framework Security

See Also

Reference

SchemaViewControllerBase Class

SchemaViewControllerBase Members

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