HtmlHelperPartialExtensions.PartialAsync HtmlHelperPartialExtensions.PartialAsync HtmlHelperPartialExtensions.PartialAsync HtmlHelperPartialExtensions.PartialAsync Method

Definition

Overloads

PartialAsync(IHtmlHelper, String) PartialAsync(IHtmlHelper, String) PartialAsync(IHtmlHelper, String) PartialAsync(IHtmlHelper, String)

Returns HTML markup for the specified partial view.

PartialAsync(IHtmlHelper, String, ViewDataDictionary) PartialAsync(IHtmlHelper, String, ViewDataDictionary) PartialAsync(IHtmlHelper, String, ViewDataDictionary) PartialAsync(IHtmlHelper, String, ViewDataDictionary)

Returns HTML markup for the specified partial view.

PartialAsync(IHtmlHelper, String, Object) PartialAsync(IHtmlHelper, String, Object) PartialAsync(IHtmlHelper, String, Object) PartialAsync(IHtmlHelper, String, Object)

Returns HTML markup for the specified partial view.

PartialAsync(IHtmlHelper, String) PartialAsync(IHtmlHelper, String) PartialAsync(IHtmlHelper, String) PartialAsync(IHtmlHelper, String)

Returns HTML markup for the specified partial view.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ PartialAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, System::String ^ partialViewName);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> PartialAsync (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName);
static member PartialAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent>
<Extension()>
Public Function PartialAsync (htmlHelper As IHtmlHelper, partialViewName As String) As Task(Of IHtmlContent)

Parameters

htmlHelper
IHtmlHelper IHtmlHelper IHtmlHelper IHtmlHelper

The IHtmlHelper instance this method extends.

partialViewName
String String String String

The name or path of the partial view used to create the HTML markup. Must not be null.

Returns

A Task that on completion returns a new IHtmlContent instance containing the created HTML.

PartialAsync(IHtmlHelper, String, ViewDataDictionary) PartialAsync(IHtmlHelper, String, ViewDataDictionary) PartialAsync(IHtmlHelper, String, ViewDataDictionary) PartialAsync(IHtmlHelper, String, ViewDataDictionary)

Returns HTML markup for the specified partial view.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ PartialAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, System::String ^ partialViewName, Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ viewData);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> PartialAsync (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData);
static member PartialAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string * Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent>
<Extension()>
Public Function PartialAsync (htmlHelper As IHtmlHelper, partialViewName As String, viewData As ViewDataDictionary) As Task(Of IHtmlContent)

Parameters

htmlHelper
IHtmlHelper IHtmlHelper IHtmlHelper IHtmlHelper

The IHtmlHelper instance this method extends.

partialViewName
String String String String

The name or path of the partial view used to create the HTML markup. Must not be null.

Returns

A Task that on completion returns a new IHtmlContent instance containing the created HTML.

PartialAsync(IHtmlHelper, String, Object) PartialAsync(IHtmlHelper, String, Object) PartialAsync(IHtmlHelper, String, Object) PartialAsync(IHtmlHelper, String, Object)

Returns HTML markup for the specified partial view.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ PartialAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, System::String ^ partialViewName, System::Object ^ model);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> PartialAsync (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName, object model);
static member PartialAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent>
<Extension()>
Public Function PartialAsync (htmlHelper As IHtmlHelper, partialViewName As String, model As Object) As Task(Of IHtmlContent)

Parameters

htmlHelper
IHtmlHelper IHtmlHelper IHtmlHelper IHtmlHelper

The IHtmlHelper instance this method extends.

partialViewName
String String String String

The name or path of the partial view used to create the HTML markup. Must not be null.

model
Object Object Object Object

A model to pass into the partial view.

Returns

A Task that on completion returns a new IHtmlContent instance containing the created HTML.

Applies to