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