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)

public:
property unsigned char Item[int index] {
	unsigned char get (int index);
}

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.5, 4, 3.5, 3.0, 2.0, 1.1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft