共用方式為


DecoderFallbackException.Index 屬性

定義

取得造成異常的位元組在輸入位元組序列中的索引位置。

public:
 property int Index { int get(); };
public int Index { get; }
member this.Index : int
Public ReadOnly Property Index As Integer

屬性值

無法解碼的位元組在輸入位元組陣列中的索引位置。 指數位置為零基。

備註

應用程式會利用這個 BytesUnknown 特性來取得包含無法解碼位元組的輸入位元組陣列。

適用於