次の方法で共有


SchemaModelViewerControllerBaseInternal.GetSelectionPathToElement メソッド

スキーマ ビューで要素を選択するために使用されるパスを階層構造ジェネレーターから取得します。

名前空間:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
アセンブリ:  Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)

構文

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

パラメーター

戻り値

型: System.Collections.Generic.IList<ISchemaModelViewerNode>
ルートからモデル要素ノードへのパスを表す null 以外のリスト (リストは空の場合があります)。

実装

ISchemaModelViewerController.GetSelectionPathToElement(IModelElement)

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

SchemaModelViewerControllerBaseInternal クラス

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