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

OracleLob.Null Field


Represents a null OracleLob object.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

Public Shared ReadOnly Null As 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.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft