Export (0) Print
Expand All

OracleString.Item Property

Gets the single byte from the Value property located at the position indicated by the integer parameter, index.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)

'Declaration
Public ReadOnly Default Property Item ( _
	index As Integer _
) As Char
'Usage
Dim instance As OracleString
Dim index As Integer
Dim value As Char

value = instance(index)

/** @property */
public char get_Item (int index)

Not applicable.

Parameters

index

The position of the byte to be retrieved.

Property Value

The byte located at the position indicated by the integer parameter.

If index indicates a position beyond the end of the byte array, an exception is raised.

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

This property is read-only.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2014 Microsoft