ViewHierarchyUtility.GetViewStartLocations(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したパスに適用できるビューの開始位置を取得します。
public:
static System::Collections::Generic::IEnumerable<System::String ^> ^ GetViewStartLocations(System::String ^ applicationRelativePath);
public static System.Collections.Generic.IEnumerable<string> GetViewStartLocations (string applicationRelativePath);
static member GetViewStartLocations : string -> seq<string>
Public Shared Function GetViewStartLocations (applicationRelativePath As String) As IEnumerable(Of String)
パラメーター
- applicationRelativePath
- String
を検索 _ViewStart
するファイルのアプリケーション相対パス。
戻り値
潜在的なビューの開始位置を表すパスのシーケンス。
注釈
このメソッドは、 のディレクトリ applicationRelativePath
からパスを返し、アプリケーション ルートに達するまで上方向に移動します。 例: /Views/Home/View.cshtml -> [ /Views/Home/_ViewStart.cshtml, /Views/_ViewStart.cshtml, /_ViewStart.cshtml ]