EncoderFallbackException.Index Property

Gets the index position in the input buffer of the character that caused the exception.

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)

public int Index { get; }
/** @property */
public int get_Index ()

public function get Index () : int

Not applicable.

Property Value

The index position in the input buffer of the character that cannot be encoded.

The index is zero-based.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: