ViewDataDictionary.TemplateInfo Property

Gets or sets an object that encapsulates information about the current template context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

function get TemplateInfo () : TemplateInfo 
function set TemplateInfo (value : TemplateInfo)

Property Value

Type: System.Web.Mvc.TemplateInfo
An object that contains information about the current template.

A TemplateInfo object contains information about the template context, such as the model type, a HTML field prefix, and the formatted model value.

Show: