Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null reference (Nothing in Visual Basic).
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Property ConvertEmptyStringToNull As Boolean
Get
Set
public virtual bool ConvertEmptyStringToNull { get; set; }
public:
virtual property bool ConvertEmptyStringToNull {
bool get ();
void set (bool value);
}
Property Value
Type: System.Boolean
true if empty strings that are posted back in forms should be converted to null reference (Nothing in Visual Basic); otherwise, false. The default value is true.