MSDN Library

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)

protected virtual string ComputeDisplayFormatString()

Return Value

Type: System.String
The display format string for the model.
© 2016 Microsoft