WebViewManager.AddRootComponentAsync(Type, String, ParameterView) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.