CachedModelMetadata<TPrototypeCache>.ComputeDisplayName 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 the display name of the model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Function ComputeDisplayName As String
'Usage
Dim returnValue As String
returnValue = Me.ComputeDisplayName()
protected virtual string ComputeDisplayName()
protected:
virtual String^ ComputeDisplayName()
abstract ComputeDisplayName : unit -> string
override ComputeDisplayName : unit -> string
protected function ComputeDisplayName() : String
Return Value
Type: System.String
The display name of the model.