HtmlHelperPartialExtensions.PartialAsync Méthode

Définition

Surcharges

PartialAsync(IHtmlHelper, String)

Retourne le balisage HTML pour la vue partielle spécifiée.

PartialAsync(IHtmlHelper, String, ViewDataDictionary)

Retourne le balisage HTML pour la vue partielle spécifiée.

PartialAsync(IHtmlHelper, String, Object)

Retourne le balisage HTML pour la vue partielle spécifiée.

PartialAsync(IHtmlHelper, String)

Retourne le balisage HTML pour la vue partielle spécifiée.

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)

Paramètres

htmlHelper
IHtmlHelper

La IHtmlHelper instance cette méthode s’étend.

partialViewName
String

Nom ou chemin de l’affichage partiel utilisé pour créer le balisage HTML. Ne doit pas être null.

Retours

Task qui, à la fin, retourne une nouvelle IHtmlContent instance contenant le code HTML créé.

S’applique à

PartialAsync(IHtmlHelper, String, ViewDataDictionary)

Retourne le balisage HTML pour la vue partielle spécifiée.

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)

Paramètres

htmlHelper
IHtmlHelper

La IHtmlHelper instance cette méthode s’étend.

partialViewName
String

Nom ou chemin de l’affichage partiel utilisé pour créer le balisage HTML. Ne doit pas être null.

viewData
ViewDataDictionary

ViewDataDictionary à passer dans la vue partielle.

Retours

Task qui, à la fin, retourne une nouvelle IHtmlContent instance contenant le code HTML créé.

S’applique à

PartialAsync(IHtmlHelper, String, Object)

Retourne le balisage HTML pour la vue partielle spécifiée.

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)

Paramètres

htmlHelper
IHtmlHelper

La IHtmlHelper instance cette méthode s’étend.

partialViewName
String

Nom ou chemin de l’affichage partiel utilisé pour créer le balisage HTML. Ne doit pas être null.

model
Object

Modèle à passer dans la vue partielle.

Retours

Task qui, à la fin, retourne une nouvelle IHtmlContent instance contenant le code HTML créé.

S’applique à