OracleLob.Length Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that returns the size of the OracleLob.

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

public override long Length { get; }

Property Value

Type: System.Int64

The size of the OracleLob in bytes.

Exception Condition
InvalidOperationException

The connection is closed.

ObjectDisposedException

The object was closed or disposed.

OracleException

An Oracle error has occurred.

The size of the OracleLob is always returned in bytes for all data types.

.NET Framework
Available since 1.1
Return to top
Show: