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

プロパティ値

null 値を受け取る場合は true。それ以外の場合は false。 既定値は、false です。

属性

注釈

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

適用対象

こちらもご覧ください