다음을 통해 공유


StaticHtmlRenderer.BeginRenderingComponent 메서드

정의

오버로드

BeginRenderingComponent(IComponent, ParameterView)

루트 구성 요소를 추가하고 렌더링을 시작합니다.

BeginRenderingComponent(Type, ParameterView)

지정된 형식의 루트 구성 요소를 추가하고 렌더링을 시작합니다.

BeginRenderingComponent(IComponent, ParameterView)

Source:
StaticHtmlRenderer.cs
Source:
StaticHtmlRenderer.cs

루트 구성 요소를 추가하고 렌더링을 시작합니다.

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

매개 변수

component
IComponent

루트 구성 요소를 추가하고 렌더링할 instance. 렌더러와 연결되지 않아야 합니다.

initialParameters
ParameterView

구성 요소에 대한 매개 변수입니다.

반환

HtmlRootComponent 렌더링된 HTML을 가져오는 데 사용할 수 있는 입니다.

적용 대상

BeginRenderingComponent(Type, ParameterView)

Source:
StaticHtmlRenderer.cs
Source:
StaticHtmlRenderer.cs

지정된 형식의 루트 구성 요소를 추가하고 렌더링을 시작합니다.

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

매개 변수

componentType
Type

구성 요소 유형입니다. 이렇게 하려면 를 구현 IComponent해야 합니다.

initialParameters
ParameterView

구성 요소에 대한 매개 변수입니다.

반환

HtmlRootComponent 렌더링된 HTML을 가져오는 데 사용할 수 있는 입니다.

적용 대상