CachedDataAnnotationsModelMetadata.ComputeDisplayName Method

Definition

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

Returns

The display name of the model.

Applies to