共用方式為


WebRenderer.AttachRootComponentToBrowser(Int32, String) 方法

定義

由架構呼叫,以在瀏覽器 DOM 中提供指定根元件的位置。

protected abstract void AttachRootComponentToBrowser (int componentId, string domElementSelector);
abstract member AttachRootComponentToBrowser : int * string -> unit
Protected MustOverride Sub AttachRootComponentToBrowser (componentId As Integer, domElementSelector As String)

參數

componentId
Int32

元件識別碼。

domElementSelector
String

可唯一識別 DOM 專案的 CSS 選取器。

適用於