Freigeben über


DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob nicht auf NULL festlegbare Werttypen erforderlich sind, oder legt diesen fest.

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

Eigenschaftswert

true, wenn nicht auf NULL festlegbare Werttypen erforderlich sind, andernfalls false.

Gilt für: