共用方式為


SchemaModelViewerControllerBaseInternal.GetPathsToElement 方法

取得階層產生器中項目的路徑。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
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>>

參數

傳回值

型別:System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
非 null 清單 (但是這個清單可能為空白),表示從根節點到模型項目節點的路徑。

實作

ISchemaModelViewerController.GetPathsToElement(IModelElement)

.NET Framework 安全性

請參閱

參考

SchemaModelViewerControllerBaseInternal 類別

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間