CachedModelMetadata<TPrototypeCache>.ComputeConvertEmptyStringToNull Method
Indicates whether empty strings that are posted back in forms should be computed and converted to null.
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Overridable Function ComputeConvertEmptyStringToNull As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.ComputeConvertEmptyStringToNull()
protected virtual bool ComputeConvertEmptyStringToNull()
protected:
virtual bool ComputeConvertEmptyStringToNull()
abstract ComputeConvertEmptyStringToNull : unit -> bool
override ComputeConvertEmptyStringToNull : unit -> bool
protected function ComputeConvertEmptyStringToNull() : boolean
Return Value
Type: System.Boolean
true if empty strings that are posted back in forms should be computed and converted to null; otherwise, false.