Condividi tramite


DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes Proprietà

Definizione

Ottiene o imposta un valore che indica se sono richiesti tipi di valore non nullable.

public:
 static property bool AddImplicitRequiredAttributeForValueTypes { bool get(); void set(bool value); };
public static bool AddImplicitRequiredAttributeForValueTypes { get; set; }
static member AddImplicitRequiredAttributeForValueTypes : bool with get, set
Public Shared Property AddImplicitRequiredAttributeForValueTypes As Boolean

Valore della proprietà

true se sono richiesti tipi di valore non nullable; in caso contrario, false.

Si applica a