Compartilhar via


ModelMetadata.TemplateHint Property

Gets or sets a hint that suggests what template to use for this model.

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

Syntax

'Declaration
Public Overridable Property TemplateHint As String
    Get
    Set
public virtual string TemplateHint { get; set; }
public:
virtual property String^ TemplateHint {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
A hint that suggests what template to use for this model.

See Also

Reference

ModelMetadata Class

System.Web.Mvc Namespace