Export (0) Print
Expand All

CachedModelMetadata(Of TPrototypeCache).ComputeConvertEmptyStringToNull 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 a cached 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
Protected Overridable Function ComputeConvertEmptyStringToNull As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.ComputeConvertEmptyStringToNull()

Return Value

Type: System.Boolean
A cached value that indicates whether empty strings that are posted back in forms should be converted to Nothing.
Show:
© 2014 Microsoft