Прочетете на английски Редактиране

Споделяне чрез


OracleString.Item[Int32] Property

Definition

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

C#
public char this[int index] { get; }

Parameters

index
Int32

The position of the byte to be retrieved.

Property Value

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

Remarks

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.

Applies to

Продукт Версии
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1