CachedModelMetadata<TPrototypeCache>.ComputeConvertEmptyStringToNull Method

Definition

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 null.

protected virtual bool ComputeConvertEmptyStringToNull ();
abstract member ComputeConvertEmptyStringToNull : unit -> bool
override this.ComputeConvertEmptyStringToNull : unit -> bool
Protected Overridable Function ComputeConvertEmptyStringToNull () As Boolean

Returns

A cached value that indicates whether empty strings that are posted back in forms should be converted to null.

Applies to