StaticHtmlRenderer.BeginRenderingComponent Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| BeginRenderingComponent(IComponent, ParameterView) |
Agrega un componente raíz y comienza a representarlo. |
| BeginRenderingComponent(Type, ParameterView) |
Agrega un componente raíz del tipo especificado y comienza a representarlo. |
BeginRenderingComponent(IComponent, ParameterView)
- Source:
- StaticHtmlRenderer.cs
- Source:
- StaticHtmlRenderer.cs
- Source:
- StaticHtmlRenderer.cs
Agrega un componente raíz y comienza a representarlo.
public Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent BeginRenderingComponent(Microsoft.AspNetCore.Components.IComponent component, Microsoft.AspNetCore.Components.ParameterView initialParameters);
member this.BeginRenderingComponent : Microsoft.AspNetCore.Components.IComponent * Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent
Public Function BeginRenderingComponent (component As IComponent, initialParameters As ParameterView) As HtmlRootComponent
Parámetros
- component
- IComponent
Instancia del componente raíz que se va a agregar y representar. Esto no debe estar asociado a ningún representador.
- initialParameters
- ParameterView
Parámetros para el componente.
Devoluciones
que HtmlRootComponent se puede usar para obtener el HTML representado.
Se aplica a
BeginRenderingComponent(Type, ParameterView)
- Source:
- StaticHtmlRenderer.cs
- Source:
- StaticHtmlRenderer.cs
- Source:
- StaticHtmlRenderer.cs
Agrega un componente raíz del tipo especificado y comienza a representarlo.
public Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent BeginRenderingComponent(Type componentType, Microsoft.AspNetCore.Components.ParameterView initialParameters);
member this.BeginRenderingComponent : Type * Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent
Public Function BeginRenderingComponent (componentType As Type, initialParameters As ParameterView) As HtmlRootComponent
Parámetros
- componentType
- Type
Tipo de componente. Esto debe implementar IComponent.
- initialParameters
- ParameterView
Parámetros para el componente.
Devoluciones
que HtmlRootComponent se puede usar para obtener el HTML representado.