SchemaModelViewerControllerBaseInternal.GetSelectionPathToElement Method
Gets the path that is used to select the element in Schema View from the hierarchy generator.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Overrides Function GetSelectionPathToElement ( _
element As IModelElement _
) As IList(Of ISchemaModelViewerNode)
public override IList<ISchemaModelViewerNode> GetSelectionPathToElement(
IModelElement element
)
public:
virtual IList<ISchemaModelViewerNode^>^ GetSelectionPathToElement(
IModelElement^ element
) override
abstract GetSelectionPathToElement :
element:IModelElement -> IList<ISchemaModelViewerNode>
override GetSelectionPathToElement :
element:IModelElement -> IList<ISchemaModelViewerNode>
public override 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 (but the list could be empty) that represents the path from the root to the model element node.
Implements
ISchemaModelViewerController.GetSelectionPathToElement(IModelElement)
.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
SchemaModelViewerControllerBaseInternal Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace