UnmanagedFunctionPointerAttribute.ThrowOnUnmappableChar Campo
Definición
Habilita o deshabilita el inicio de una excepción cuando un carácter Unicode que no se puede asignar se convierte en un carácter ANSI "?".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
Valor de campo
Comentarios
El ThrowOnUnmappableChar campo es de false
forma predeterminada, lo que significa que el campo está deshabilitado.The ThrowOnUnmappableChar field is false
by default, which means that the field is disabled. Establezca este campo en true
para indicar que se produce una excepción cada vez que el serializador de interoperabilidad convierte un carácter no asignable.Set this field to true
to indicate that an exception is thrown each time the interop marshaler converts an unmappable character.
Para obtener más información, vea ThrowOnUnmappableChar.For more information, see ThrowOnUnmappableChar.