PageConventionCollection.AddPageApplicationModelConvention(String, Action<PageApplicationModel>) メソッド

定義

指定した名前のページの に対してアクションを呼び出 IPageApplicationModelConvention PageApplicationModel す を作成して追加します。

public:
 Microsoft::AspNetCore::Mvc::ApplicationModels::IPageApplicationModelConvention ^ AddPageApplicationModelConvention(System::String ^ pageName, Action<Microsoft::AspNetCore::Mvc::ApplicationModels::PageApplicationModel ^> ^ action);
public Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention AddPageApplicationModelConvention (string pageName, Action<Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel> action);
member this.AddPageApplicationModelConvention : string * Action<Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention
Public Function AddPageApplicationModelConvention (pageName As String, action As Action(Of PageApplicationModel)) As IPageApplicationModelConvention

パラメーター

pageName
String

ページの名前 (例: /Users/List)

戻り値

IPageApplicationModelConvention

追加された IPageApplicationModelConvention

適用対象