Share via


SchemaTableColumn.AllowDBNull フィールド

定義

DBNull の使用が許可されているかどうかを示します。

public: static initonly System::String ^ AllowDBNull;
public static readonly string AllowDBNull;
 staticval mutable AllowDBNull : string
Public Shared ReadOnly AllowDBNull As String 

フィールド値

注釈

DBNull が許可されている場合は、文字列 "true" を返します。それ以外の場合は "false" です。

注意

主キー列の場合は、"true" に設定 AllowDbNull しないでください。 主キーとして定義されている列は に AllowDbNull設定できますが、null 値を割り当てることはできません。

適用対象

こちらもご覧ください