Null Field
Collapse the table of content
Expand the table of content

OracleLob.Null Field

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

Represents a null OracleLob object.

[Visual Basic]
Public Shared ReadOnly Null As OracleLob
public static readonly OracleLob Null;
public: static OracleLob* Null;
public static var Null : OracleLob;


You can construct an OracleLob that is NULL using this format:

OracleLob myLob = OracleLOB.Null;

This technique is used primarily to test whether a LOB returned from the server is NULL, as this example illustrates:

if( myLob == OracleLob.Null)

A NULL LOB behaves similarly to a zero byte LOB in that Read succeeds and always returns zero bytes.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OracleLob Class | OracleLob Members | System.Data.OracleClient Namespace

© 2015 Microsoft