CachedModelMetadata<TPrototypeCache>.ComputeNullDisplayText 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 cached string to display for null values.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Protected Overridable Function ComputeNullDisplayText As String
'Usage
Dim returnValue As String 

returnValue = Me.ComputeNullDisplayText()
protected virtual string ComputeNullDisplayText()
protected:
virtual String^ ComputeNullDisplayText()
abstract ComputeNullDisplayText : unit -> string  
override ComputeNullDisplayText : unit -> string
protected function ComputeNullDisplayText() : String

Return Value

Type: System.String
The cached string to display for null values.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Mvc Namespace