Dela via


SchemaModelViewerControllerBase.GetPathsToElement Method

Returns the path of a 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
Public MustOverride Function GetPathsToElement ( _
    element As IModelElement _
) As IList(Of IList(Of ISchemaModelViewerNode))
public abstract IList<IList<ISchemaModelViewerNode>> GetPathsToElement(
    IModelElement element
)
public:
virtual IList<IList<ISchemaModelViewerNode^>^>^ GetPathsToElement(
    IModelElement^ element
) abstract
abstract GetPathsToElement : 
        element:IModelElement -> IList<IList<ISchemaModelViewerNode>> 
public abstract function GetPathsToElement(
    element : IModelElement
) : IList<IList<ISchemaModelViewerNode>>

Parameters

Return Value

Type: System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
Non-null list (but this list could be empty) that represents the path from the root to the model element node.

Implements

ISchemaModelViewerController.GetPathsToElement(IModelElement)

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBase Class

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace