UnmanagedFunctionPointerAttribute.ThrowOnUnmappableChar Field
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.
Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.
public: bool ThrowOnUnmappableChar;
public bool ThrowOnUnmappableChar;
val mutable ThrowOnUnmappableChar : bool
Public ThrowOnUnmappableChar As Boolean
Field Value
Remarks
The ThrowOnUnmappableChar field is false
by default, which means that the field is disabled. Set this field to true
to indicate that an exception is thrown each time the interop marshaler converts an unmappable character.
For more information, see ThrowOnUnmappableChar.