Megosztás a következőn keresztül:


ModelMetadata.ConvertEmptyStringToNull Property

Definition

Gets a value indicating whether or not to convert an empty string value or one containing only whitespace characters to null when representing a model as text.

public:
 abstract property bool ConvertEmptyStringToNull { bool get(); };
public abstract bool ConvertEmptyStringToNull { get; }
member this.ConvertEmptyStringToNull : bool
Public MustOverride ReadOnly Property ConvertEmptyStringToNull As Boolean

Property Value

Applies to