Export (0) Print
Expand All

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
[C#]
public static readonly OracleLob Null;
[C++]
public: static OracleLob* Null;
[JScript]
public static var Null : OracleLob;

Remarks

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.

Requirements

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

Show:
© 2015 Microsoft