IViewComponentHelper.InvokeAsync 메서드

정의

오버로드

InvokeAsync(String, Object)

지정된 name를 사용하여 뷰 구성 요소를 호출합니다.

InvokeAsync(Type, Object)

형식 componentType의 뷰 구성 요소를 호출합니다.

InvokeAsync(String, Object)

지정된 name를 사용하여 뷰 구성 요소를 호출합니다.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ InvokeAsync(System::String ^ name, System::Object ^ arguments);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> InvokeAsync (string name, object arguments);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> InvokeAsync (string name, object? arguments);
abstract member InvokeAsync : string * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent>
Public Function InvokeAsync (name As String, arguments As Object) As Task(Of IHtmlContent)

매개 변수

name
String

뷰 구성 요소의 이름입니다.

arguments
Object

Object 호출된 뷰 구성 요소 메서드에 전달할 인수를 나타내는 속성이 있는 입니다. 또는 호출 인수를 IDictionary<TKey,TValue> 포함하는 instance.

반환

Task 완료 시 렌더링된 를 반환하는 입니다IHtmlContent.

적용 대상

InvokeAsync(Type, Object)

형식 componentType의 뷰 구성 요소를 호출합니다.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ InvokeAsync(Type ^ componentType, System::Object ^ arguments);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> InvokeAsync (Type componentType, object arguments);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> InvokeAsync (Type componentType, object? arguments);
abstract member InvokeAsync : Type * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent>
Public Function InvokeAsync (componentType As Type, arguments As Object) As Task(Of IHtmlContent)

매개 변수

componentType
Type

뷰 구성 요소 Type입니다.

arguments
Object

Object 호출된 뷰 구성 요소 메서드에 전달할 인수를 나타내는 속성이 있는 입니다. 또는 호출 인수를 IDictionary<TKey,TValue> 포함하는 instance.

반환

Task 완료 시 렌더링된 를 반환하는 입니다IHtmlContent.

적용 대상