CachedDataAnnotationsModelMetadata.ComputeDisplayFormatString Method

Definition

Gets the display format string for the 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 ComputeDisplayFormatString ();
override this.ComputeDisplayFormatString : unit -> string
Protected Overrides Function ComputeDisplayFormatString () As String

Returns

The display format string for the model.

Applies to