DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes プロパティ

定義

null 非許容値型が必要かどうかを示す値を取得または設定します。

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

プロパティ値

null 非許容値型が必要な場合は true。それ以外の場合は false。

適用対象