ISchemaModelViewerController.GetSelectionPathToElement Method
Returns the path for the element that is used to navigate to the element in Schema View.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function GetSelectionPathToElement ( _
element As IModelElement _
) As IList(Of ISchemaModelViewerNode)
IList<ISchemaModelViewerNode> GetSelectionPathToElement(
IModelElement element
)
IList<ISchemaModelViewerNode^>^ GetSelectionPathToElement(
IModelElement^ element
)
abstract GetSelectionPathToElement :
element:IModelElement -> IList<ISchemaModelViewerNode>
function GetSelectionPathToElement(
element : IModelElement
) : IList<ISchemaModelViewerNode>
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element that is queried.
Return Value
Type: System.Collections.Generic.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