Share via


BlazorWebView.HostPage 属性

定义

获取或设置要呈现的 HTML 文件的路径。

这是文件的应用相对路径,例如 wwwroot\index.html

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

属性值

适用于