TemplateInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates information about the current template context.
public class TemplateInfo
type TemplateInfo = class
Public Class TemplateInfo
- Inheritance
-
TemplateInfo
Constructors
TemplateInfo() |
Initializes a new instance of the TemplateInfo class. |
Properties
FormattedModelValue |
Gets or sets the formatted model value. |
HtmlFieldPrefix |
Gets or sets the HTML field prefix. |
TemplateDepth |
Contains the number of objects that were visited by the user. |
Methods
GetFullHtmlFieldId(String) |
Retrieves the full DOM ID of a field using the specified HTML name attribute. |
GetFullHtmlFieldName(String) |
Retrieves the fully qualified name (including a prefix) for a field using the specified HTML name attribute. |
Visited(ModelMetadata) |
Determines whether the template has been visited by the user. |