次の方法で共有


ChunkInheritanceUtility.GetInheritedChunkTreeResults(String) メソッド

定義

にあるページpagePathに適用できる各_ViewImportsの、解析された ChunkTreeの順序付けられた IReadOnlyList<T> パスとファイル パスを取得します。 リストは、ファイル システム内の にChunkTreeResultChunkTree最も近い の _ViewImports が最初にpagePath表示されるように並べ替えます。

public:
 virtual System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Razor::Directives::ChunkTreeResult ^> ^ GetInheritedChunkTreeResults(System::String ^ pagePath);
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkTreeResult> GetInheritedChunkTreeResults(string pagePath);
abstract member GetInheritedChunkTreeResults : string -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkTreeResult>
override this.GetInheritedChunkTreeResults : string -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkTreeResult>
Public Overridable Function GetInheritedChunkTreeResults (pagePath As String) As IReadOnlyList(Of ChunkTreeResult)

パラメーター

pagePath
String

継承されたチャンクを検索するページのパス。

戻り値

IReadOnlyList<T>解析された _ViewImportsChunkTrees とそのファイル パスの 。

注釈

結果 IReadOnlyList<T> は、アプリケーション ルートに最も近い_ViewImportの結果が最初に表示され、ページに最も近い_ViewImportが最後に表示されるように並べ替えます。[/_ViewImport、/Views/_ViewImport、/Views/Home/_ViewImport ]

適用対象