Sdílet prostřednictvím


WebRenderer.AddRootComponent(Type, String) Metoda

Definice

Vytvoří instanci kořenové komponenty a připojí ji k prohlížeči v rámci zadaného elementu.

protected internal int AddRootComponent (Type componentType, string domElementSelector);
member this.AddRootComponent : Type * string -> int
Protected Friend Function AddRootComponent (componentType As Type, domElementSelector As String) As Integer

Parametry

componentType
Type

Typ komponenty.

domElementSelector
String

Selektor šablon stylů CSS, který jednoznačně identifikuje prvek dom.

Návraty

ID nové komponenty.

Platí pro