Share via


BlazorWebView.HostPage 属性

定义

应用程序静态文件中主机页的路径。 例如 wwwroot\index.html。 此属性必须设置为有效值,才能启动 Razor 组件。

public:
 property System::String ^ HostPage { System::String ^ get(); void set(System::String ^ value); };
public string HostPage { get; set; }
member this.HostPage : string with get, set
Public Property HostPage As String

属性值

适用于