PageModel.Partial PageModel.Partial PageModel.Partial Method

Definition

Overloads

Partial(String) Partial(String) Partial(String)

Creates a PartialViewResult by specifying the name of a partial to render.

Partial(String, Object) Partial(String, Object) Partial(String, Object)

Creates a PartialViewResult by specifying the name of a partial to render and the model object.

Partial(String) Partial(String) Partial(String)

Creates a PartialViewResult by specifying the name of a partial to render.

public virtual Microsoft.AspNetCore.Mvc.PartialViewResult Partial (string viewName);
abstract member Partial : string -> Microsoft.AspNetCore.Mvc.PartialViewResult
override this.Partial : string -> Microsoft.AspNetCore.Mvc.PartialViewResult
Public Overridable Function Partial (viewName As String) As PartialViewResult

Parameters

viewName
String String String

The partial name.

Returns

Partial(String, Object) Partial(String, Object) Partial(String, Object)

Creates a PartialViewResult by specifying the name of a partial to render and the model object.

public virtual Microsoft.AspNetCore.Mvc.PartialViewResult Partial (string viewName, object model);
abstract member Partial : string * obj -> Microsoft.AspNetCore.Mvc.PartialViewResult
override this.Partial : string * obj -> Microsoft.AspNetCore.Mvc.PartialViewResult
Public Overridable Function Partial (viewName As String, model As Object) As PartialViewResult

Parameters

viewName
String String String

The partial name.

model
Object Object Object

The model to be passed into the partial.

Returns

Applies to