DecoderFallbackException.Index Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the index position in the input byte sequence of the byte that caused the exception.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Int32The index position in the input byte array of the last byte that could be successfully decoded. The index position is zero-based. If the first byte cannot be decoded, the method returns -1.
The application uses the BytesUnknown property to retrieve the input byte array that contains the byte that cannot be decoded.
Show: