EncoderFallbackException.Index Property

Definition

Gets the index position in the input buffer of the character 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 buffer of the character that cannot be encoded.

Remarks

The index is zero-based.

Applies to