DecoderFallbackException.Index Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.