CachedModelMetadata<TPrototypeCache>.ComputeShortDisplayName Method
This method is protected and therefore cannot be called directly. This method was designed to be overridden in a deriving class such as CachedDataAnnotationsModelMetadata.
Gets or sets a short display name.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Function ComputeShortDisplayName As String
'Usage
Dim returnValue As String
returnValue = Me.ComputeShortDisplayName()
protected virtual string ComputeShortDisplayName()
protected:
virtual String^ ComputeShortDisplayName()
abstract ComputeShortDisplayName : unit -> string
override ComputeShortDisplayName : unit -> string
protected function ComputeShortDisplayName() : String
Return Value
Type: System.String
A short display name.