Export (0) Print
Expand All

ModelMetadata.ConvertEmptyStringToNull Property

.NET Framework 4

Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to Nothing.

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

'Declaration
Public Overridable Property ConvertEmptyStringToNull As Boolean
	Get
	Set

Property Value

Type: System.Boolean
true if empty strings that are posted back in forms should be converted to Nothing; otherwise, false. The default value is true.

Community Additions

ADD
Show:
© 2014 Microsoft