Compartir a través de


DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes Propiedad

Definición

Obtiene o establece un valor que indica si se requieren tipos de valor que no aceptan valores NULL.

public static bool AddImplicitRequiredAttributeForValueTypes { get; set; }
member this.AddImplicitRequiredAttributeForValueTypes : bool with get, set
Public Shared Property AddImplicitRequiredAttributeForValueTypes As Boolean

Valor de propiedad

true si se requieren tipos de valor que no aceptan valores NULL; de lo contrario, false.

Se aplica a