Length Property
Collapse the table of content
Expand the table of content

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
Available since 1.1
Return to top
© 2016 Microsoft