CachedDataAnnotationsModelMetadata.ComputeTemplateHint Method
Gets a hint that suggests what template to use for this model.
If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overrides Function ComputeTemplateHint As String
'Usage
Dim returnValue As String
returnValue = Me.ComputeTemplateHint()
protected override string ComputeTemplateHint()
protected:
virtual String^ ComputeTemplateHint() override
abstract ComputeTemplateHint : unit -> string
override ComputeTemplateHint : unit -> string
protected override function ComputeTemplateHint() : String
Return Value
Type: System.String
A hint that suggests what template to use for this model.