CachedDataAnnotationsModelMetadata.ComputeShortDisplayName Method
Gets a short display name.
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 ComputeShortDisplayName As String
'Usage
Dim returnValue As String
returnValue = Me.ComputeShortDisplayName()
protected override string ComputeShortDisplayName()
protected:
virtual String^ ComputeShortDisplayName() override
abstract ComputeShortDisplayName : unit -> string
override ComputeShortDisplayName : unit -> string
protected override function ComputeShortDisplayName() : String
Return Value
Type: System.String
A short display name.