HtmlHelperComponentExtensions.RenderComponentAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
RenderComponentAsync(IHtmlHelper, Type, RenderMode, Object) |
지정된 |
RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode) |
|
RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode, Object) |
|
RenderComponentAsync(IHtmlHelper, Type, RenderMode, Object)
지정된 componentType
를 렌더링합니다.
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ RenderComponentAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, Type ^ componentType, Microsoft::AspNetCore::Mvc::Rendering::RenderMode renderMode, System::Object ^ parameters);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> RenderComponentAsync (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Type componentType, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters);
static member RenderComponentAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * Type * Microsoft.AspNetCore.Mvc.Rendering.RenderMode * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent>
<Extension()>
Public Function RenderComponentAsync (htmlHelper As IHtmlHelper, componentType As Type, renderMode As RenderMode, parameters As Object) As Task(Of IHtmlContent)
매개 변수
- htmlHelper
- IHtmlHelper
- componentType
- Type
구성 요소 유형입니다.
- renderMode
- RenderMode
구성 요소에 대한 RenderMode입니다.
반환
적용 대상
RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode)
TComponent
을 렌더링합니다.
public:
generic <typename TComponent>
where TComponent : Microsoft::AspNetCore::Components::IComponent[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ RenderComponentAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, Microsoft::AspNetCore::Mvc::Rendering::RenderMode renderMode);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> RenderComponentAsync<TComponent> (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RenderComponentAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * Microsoft.AspNetCore.Mvc.Rendering.RenderMode -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Function RenderComponentAsync(Of TComponent As IComponent) (htmlHelper As IHtmlHelper, renderMode As RenderMode) As Task(Of IHtmlContent)
형식 매개 변수
- TComponent
매개 변수
- htmlHelper
- IHtmlHelper
- renderMode
- RenderMode
구성 요소에 대한 RenderMode입니다.
반환
렌더링 TComponent
된 에서 생성된 HTML입니다.
적용 대상
RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode, Object)
TComponent
을 렌더링합니다.
public:
generic <typename TComponent>
where TComponent : Microsoft::AspNetCore::Components::IComponent[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ RenderComponentAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, Microsoft::AspNetCore::Mvc::Rendering::RenderMode renderMode, System::Object ^ parameters);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> RenderComponentAsync<TComponent> (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RenderComponentAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * Microsoft.AspNetCore.Mvc.Rendering.RenderMode * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Function RenderComponentAsync(Of TComponent As IComponent) (htmlHelper As IHtmlHelper, renderMode As RenderMode, parameters As Object) As Task(Of IHtmlContent)
형식 매개 변수
- TComponent
매개 변수
- htmlHelper
- IHtmlHelper
- renderMode
- RenderMode
구성 요소에 대한 RenderMode입니다.
반환
렌더링 TComponent
된 에서 생성된 HTML입니다.