共用方式為


RazorPagesOptions.Conventions 屬性

定義

取得路由和頁面模型建構期間所套用的 IPageConvention 實例集合。

public:
 property Microsoft::AspNetCore::Mvc::ApplicationModels::PageConventionCollection ^ Conventions { Microsoft::AspNetCore::Mvc::ApplicationModels::PageConventionCollection ^ get(); };
public Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection Conventions { get; }
member this.Conventions : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
Public ReadOnly Property Conventions As PageConventionCollection

屬性值

適用於