BestFitMappingAttribute::ThrowOnUnmappableChar Field

 

Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI '?' character.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public:
bool ThrowOnUnmappableChar

Field Value

Type: System::Boolean

If false, the ThrowOnUnmappableChar field is disabled; otherwise, an exception is thrown each time the interop marshaler encounters an unmappable character. The default false.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: