Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

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