HtmlHelperPartialExtensions.RenderPartial HtmlHelperPartialExtensions.RenderPartial HtmlHelperPartialExtensions.RenderPartial Method

Definition

Overloads

RenderPartial(IHtmlHelper, String) RenderPartial(IHtmlHelper, String) RenderPartial(IHtmlHelper, String)

Renders HTML markup for the specified partial view.

RenderPartial(IHtmlHelper, String, ViewDataDictionary) RenderPartial(IHtmlHelper, String, ViewDataDictionary) RenderPartial(IHtmlHelper, String, ViewDataDictionary)

Renders HTML markup for the specified partial view.

RenderPartial(IHtmlHelper, String, Object) RenderPartial(IHtmlHelper, String, Object) RenderPartial(IHtmlHelper, String, Object)

Renders HTML markup for the specified partial view.

RenderPartial(IHtmlHelper, String, Object, ViewDataDictionary) RenderPartial(IHtmlHelper, String, Object, ViewDataDictionary) RenderPartial(IHtmlHelper, String, Object, ViewDataDictionary)

Renders HTML markup for the specified partial view.

RenderPartial(IHtmlHelper, String) RenderPartial(IHtmlHelper, String) RenderPartial(IHtmlHelper, String)

Renders HTML markup for the specified partial view.

public static void RenderPartial (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName);
static member RenderPartial : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string -> unit
<Extension()>
Public Sub RenderPartial (htmlHelper As IHtmlHelper, partialViewName As String)

Parameters

htmlHelper
IHtmlHelper IHtmlHelper IHtmlHelper

The IHtmlHelper instance this method extends.

partialViewName
String String String

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

Remarks

In this context, "renders" means the method writes its output using Writer.

RenderPartial(IHtmlHelper, String, ViewDataDictionary) RenderPartial(IHtmlHelper, String, ViewDataDictionary) RenderPartial(IHtmlHelper, String, ViewDataDictionary)

Renders HTML markup for the specified partial view.

public static void RenderPartial (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData);
static member RenderPartial : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string * Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary -> unit
<Extension()>
Public Sub RenderPartial (htmlHelper As IHtmlHelper, partialViewName As String, viewData As ViewDataDictionary)

Parameters

htmlHelper
IHtmlHelper IHtmlHelper IHtmlHelper

The IHtmlHelper instance this method extends.

partialViewName
String String String

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

Remarks

In this context, "renders" means the method writes its output using Writer.

RenderPartial(IHtmlHelper, String, Object) RenderPartial(IHtmlHelper, String, Object) RenderPartial(IHtmlHelper, String, Object)

Renders HTML markup for the specified partial view.

public static void RenderPartial (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName, object model);
static member RenderPartial : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string * obj -> unit
<Extension()>
Public Sub RenderPartial (htmlHelper As IHtmlHelper, partialViewName As String, model As Object)

Parameters

htmlHelper
IHtmlHelper IHtmlHelper IHtmlHelper

The IHtmlHelper instance this method extends.

partialViewName
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

A model to pass into the partial view.

Remarks

In this context, "renders" means the method writes its output using Writer.

RenderPartial(IHtmlHelper, String, Object, ViewDataDictionary) RenderPartial(IHtmlHelper, String, Object, ViewDataDictionary) RenderPartial(IHtmlHelper, String, Object, ViewDataDictionary)

Renders HTML markup for the specified partial view.

public static void RenderPartial (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName, object model, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData);
static member RenderPartial : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string * obj * Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary -> unit
<Extension()>
Public Sub RenderPartial (htmlHelper As IHtmlHelper, partialViewName As String, model As Object, viewData As ViewDataDictionary)

Parameters

htmlHelper
IHtmlHelper IHtmlHelper IHtmlHelper

The IHtmlHelper instance this method extends.

partialViewName
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

A model to pass into the partial view.

Remarks

In this context, "renders" means the method writes its output using Writer.

Applies to