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
- 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.
Implements
ISchemaViewController.GetPathsToElement(IModelElement)
Remarks
Returns an empty list by default.
.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
SchemaViewControllerBase Class
SchemaViewControllerBase Members
Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows Namespace