ISchemaModelViewerController.GetPathsToElement Method
Returns paths of the specified element in the hierarchy.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function GetPathsToElement ( _
element As IModelElement _
) As IList(Of IList(Of ISchemaModelViewerNode))
IList<IList<ISchemaModelViewerNode>> GetPathsToElement(
IModelElement element
)
IList<IList<ISchemaModelViewerNode^>^>^ GetPathsToElement(
IModelElement^ element
)
abstract GetPathsToElement :
element:IModelElement -> IList<IList<ISchemaModelViewerNode>>
function GetPathsToElement(
element : IModelElement
) : IList<IList<ISchemaModelViewerNode>>
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element that is queried.
Return Value
Type: System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
Non-null list (although the list could be empty) that represents the path from the root node to the model element node.
.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
ISchemaModelViewerController Interface
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace