ISchemaHierarchyGenerator.PathToElement Method (IModelElement, Object)
Returns a list of hierarchy nodes from the root node to the specified element that 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, _
contextObject As Object _
) As IList(Of IList(Of ISchemaModelViewerNode))
IList<IList<ISchemaModelViewerNode>> PathToElement(
IModelElement element,
Object contextObject
)
IList<IList<ISchemaModelViewerNode^>^>^ PathToElement(
IModelElement^ element,
Object^ contextObject
)
abstract PathToElement :
element:IModelElement *
contextObject:Object -> IList<IList<ISchemaModelViewerNode>>
function PathToElement(
element : IModelElement,
contextObject : Object
) : IList<IList<ISchemaModelViewerNode>>
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Target element.
- contextObject
Type: System.Object
A way to enable special behavior during this method call.
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