次の方法で共有


DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes プロパティ

定義

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

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

プロパティ値

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

適用対象