共用方式為


PageContext.ViewStartFactories 屬性

定義

取得或設定適用的_ViewStart實例。

public:
 virtual property System::Collections::Generic::IList<Func<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^> ^ ViewStartFactories { System::Collections::Generic::IList<Func<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^> ^ get(); void set(System::Collections::Generic::IList<Func<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^> ^ value); };
public virtual System.Collections.Generic.IList<Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage>> ViewStartFactories { get; set; }
member this.ViewStartFactories : System.Collections.Generic.IList<Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage>> with get, set
Public Overridable Property ViewStartFactories As IList(Of Func(Of IRazorPage))

屬性值

適用於