DecoderFallbackException.Index Property

Definition

Gets the index position in the input byte sequence of the byte that caused the exception.

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

Property Value

The index position in the input byte array of the byte that cannot be decoded. The index position is zero-based.

Remarks

The application uses the BytesUnknown property to retrieve the input byte array that contains the byte that cannot be decoded.

Applies to