OracleBinary::Item Property (Int32)


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

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)

property unsigned char default[
	int index
] {
	unsigned char get(int 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
Available since 1.1
Return to top