ModelMetadata.NullDisplayText Property

.NET Framework (current version)
 

Gets the string that should be displayed when the model is null.

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

abstract NullDisplayText : string with get, set
override NullDisplayText : string with get, set

Property Value

Type: System.String

The string to display when the model is null.

.NET Framework
Available since 4.5
Return to top
Show: