Condividi tramite


SqlCeParameter.IsNullable Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets or sets a value indicating whether or not the parameter accepts null values.

  [Visual Basic]
  Public Overridable Property IsNullable As Boolean  Implements _
   IDataParameter.IsNullable
[C#]
public virtual bool IsNullable {get; set;}
[C++]
public: __property virtual bool get_IsNullable();
public: __property void set_IsNullable(bool);
[JScript]
public function get IsNullable() : Boolean;
public function set IsNullable(Boolean);

Property Value

true if null values are accepted; otherwise, false. The default is false.

Implements

IDataParameter.IsNullable

Remarks

Null values are handled using the DBNull class.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeParameter Class | SqlCeParameter Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.