View.retrieveModel

Retrieves the generated result of a view. This should generally only be used to render partial views into another view.

class View
final
string
retrieveModel
(
string name
TModel
)
(
TModel model
,
string sectionName = ""
)

Parameters

name

The name of the view to generate the result of.

Return Value

Type: string

A string qeuivalent to the generated result.

Meta