SchemaModelViewerControllerBaseInternal.GetPathsToElement Method
Gets the path to the element 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 GetPathsToElement ( _
element As IModelElement _
) As IList(Of IList(Of ISchemaModelViewerNode))
public override IList<IList<ISchemaModelViewerNode>> GetPathsToElement(
IModelElement element
)
public:
virtual IList<IList<ISchemaModelViewerNode^>^>^ GetPathsToElement(
IModelElement^ element
) override
abstract GetPathsToElement :
element:IModelElement -> IList<IList<ISchemaModelViewerNode>>
override GetPathsToElement :
element:IModelElement -> IList<IList<ISchemaModelViewerNode>>
public override 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 (but the list could be empty) that represents the path from the root to the model element node.
Implements
ISchemaModelViewerController.GetPathsToElement(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