共用方式為


BlazorWebViewHandler.MapRootComponents 方法

定義

RootComponents 屬性對應至指定的處理程式。

public:
 static void MapRootComponents(Microsoft::AspNetCore::Components::WebView::Maui::BlazorWebViewHandler ^ handler, Microsoft::AspNetCore::Components::WebView::Maui::IBlazorWebView ^ webView);
public static void MapRootComponents (Microsoft.AspNetCore.Components.WebView.Maui.BlazorWebViewHandler handler, Microsoft.AspNetCore.Components.WebView.Maui.IBlazorWebView webView);
static member MapRootComponents : Microsoft.AspNetCore.Components.WebView.Maui.BlazorWebViewHandler * Microsoft.AspNetCore.Components.WebView.Maui.IBlazorWebView -> unit
Public Shared Sub MapRootComponents (handler As BlazorWebViewHandler, webView As IBlazorWebView)

參數

適用於