CachedDataAnnotationsModelMetadata.ComputeTemplateHint Method

Definition

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.

protected override string ComputeTemplateHint ();
override this.ComputeTemplateHint : unit -> string
Protected Overrides Function ComputeTemplateHint () As String

Returns

A hint that suggests what template to use for this model.

Applies to