OracleLob.Null Field

Definition

Represents a null OracleLob object.

C#
public static readonly System.Data.OracleClient.OracleLob Null;

Field Value

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1