OracleString.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從整數參數index所指示的位置取得Value單一位元組。
public:
property char default[int] { char get(int index); };
public char this[int index] { get; }
member this.Item(int) : char
Default Public ReadOnly Property Item(index As Integer) As Char
參數
- index
- Int32
要取回的位元組位置。
屬性值
位元組位於整數參數所指示的位置。
備註
若 index 表示位元組陣列末端之外的位置,則會提出例外。
為避免提出例外,請務必在閱讀this前先確認該物業及IsNull該物業。Length
這個屬性是唯讀的。