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)

'Declaration
Public Property TemplateInfo As TemplateInfo 
	Get 
	Set
'Usage
Dim instance As ViewDataDictionary 
Dim value As TemplateInfo 

value = instance.TemplateInfo

instance.TemplateInfo = value

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: