DbParameter.IsNullable プロパティ

定義

パラメーターが null 値を受け入れるかどうかを示す値を取得または設定します。

public:
 abstract property bool IsNullable { bool get(); void set(bool value); };
public abstract bool IsNullable { get; set; }
[System.ComponentModel.Browsable(false)]
public abstract bool IsNullable { get; set; }
member this.IsNullable : bool with get, set
[<System.ComponentModel.Browsable(false)>]
member this.IsNullable : bool with get, set
Public MustOverride Property IsNullable As Boolean

プロパティ値

true null 値が受け入れられる場合。それ以外の場合は false。 既定値は false です。

属性

注釈

null 値は、 DBNull クラスを使用して処理されます。

適用対象

こちらもご覧ください