SqlCeParameter.IsNullable Property

Gets or sets a value indicating whether or not the parameter accepts a null reference (Nothing in Visual Basic) values.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)


Public Overrides Property IsNullable As Boolean
Dim instance As SqlCeParameter
Dim value As Boolean

value = instance.IsNullable

instance.IsNullable = value
public override bool IsNullable { get; set; 
virtual property bool IsNullable {
    bool get () override;
    void set (bool value) override;
/** @property */
public boolean get_IsNullable ()

/** @property */
public void set_IsNullable (boolean value)
public override function get IsNullable () : boolean

public override function set IsNullable (value : boolean)

Property Value

true if a null reference (Nothing in Visual Basic) values are accepted; otherwise, false. The default is false.


The DBNull class handles a null reference (Nothing in Visual Basic) values.


The following example creates a SqlCeParameter and sets the IsNullable property.

Dim param As SqlCeParameter = cmd.CreateParameter()
param.IsNullable = True
SqlCeParameter param = cmd.CreateParameter();
param.IsNullable = true;

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .


Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0, 1.0

See Also


SqlCeParameter Class
SqlCeParameter Members
System.Data.SqlServerCe Namespace