DataObjectFieldAttribute.IsNullable Property

Gets a value indicating whether a property represents a field that can be null in the underlying data store.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

public bool IsNullable { get; }
/** @property */
public boolean get_IsNullable ()

public function get IsNullable () : boolean

Not applicable.

Property Value

true if the property represents a field that can be null in the underlying data store; otherwise, false.

Set the IsNullable property to true when then DataObjectFieldAttribute attribute is applied to a property that represents a field in the underlying data store that can be set to null. The value that represents null in the data store may be different from a null reference (Nothing in Visual Basic) in the programming language.

Set the IsNullable property with one of the DataObjectFieldAttribute constructors.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: