Export (0) Print
Expand All

OracleBinary.Length Property

Gets the length in bytes of the Value property. This property is read-only.

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

public int Length { get; }

Property Value

Type: System.Int32
The length of the binary data in the Value property.

To avoid raising an OracleNullValueException, always check the IsNull property before reading the Length property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft