WebViewManager.AddRootComponentAsync(Type, String, ParameterView) Metodo

Definizione

Aggiunge un componente radice alla pagina associata.

public System.Threading.Tasks.Task AddRootComponentAsync (Type componentType, string selector, Microsoft.AspNetCore.Components.ParameterView parameters);
member this.AddRootComponentAsync : Type * string * Microsoft.AspNetCore.Components.ParameterView -> System.Threading.Tasks.Task
Public Function AddRootComponentAsync (componentType As Type, selector As String, parameters As ParameterView) As Task

Parametri

componentType
Type

Tipo del componente radice. Deve implementare IComponent.

selector
String

Selettore CSS che descrive dove posizionare il componente nella pagina.

parameters
ParameterView

Parametri per il componente.

Restituisce

Si applica a