WebRenderer.AttachRootComponentToBrowser(Int32, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
由架構呼叫,以在瀏覽器 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 選取器。