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
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element
Return Value
Type: System.Collections.Generic.IList<IList<IDatabaseSchemaViewNode>>
Returns a non-null list, which may be empty.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ISchemaViewController Interface
Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView Namespace