ISchemaHierarchyGenerator.PathToElement Method (IModelElement)
Returns a list of hierarchy nodes from the root node to the specified element. These nodes form a "path" to the given element.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function PathToElement ( _
element As IModelElement _
) As IList(Of IList(Of ISchemaModelViewerNode))
IList<IList<ISchemaModelViewerNode>> PathToElement(
IModelElement element
)
IList<IList<ISchemaModelViewerNode^>^>^ PathToElement(
IModelElement^ element
)
abstract PathToElement :
element:IModelElement -> IList<IList<ISchemaModelViewerNode>>
function PathToElement(
element : IModelElement
) : IList<IList<ISchemaModelViewerNode>>
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Target element.
Return Value
Type: System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
List of hierarchy nodes.
.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
ISchemaHierarchyGenerator Interface
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace