Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OracleBinary.Item Property

Gets the single byte from the Value property located at the position indicated by the integer parameter, index. If index indicates a position beyond the end of the byte array, an exception is raised.

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

'Declaration
Public ReadOnly Property Item ( _
	index As Integer _
) As Byte

Parameters

index
Type: System.Int32

The position of the byte to be retrieved.

Property Value

Type: System.Byte
The byte located at the position indicated by the integer parameter.

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

.NET Framework

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