SchemaModelViewerControllerBase.GetSelectionPathToElement Method
Returns the path for the specified element that is used when you 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
Public MustOverride Function GetSelectionPathToElement ( _
element As IModelElement _
) As IList(Of ISchemaModelViewerNode)
public abstract IList<ISchemaModelViewerNode> GetSelectionPathToElement(
IModelElement element
)
public:
virtual IList<ISchemaModelViewerNode^>^ GetSelectionPathToElement(
IModelElement^ element
) abstract
abstract GetSelectionPathToElement :
element:IModelElement -> IList<ISchemaModelViewerNode>
public abstract 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 node 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
SchemaModelViewerControllerBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace