UnmanagedFunctionPointerAttribute.ThrowOnUnmappableChar Champ

Définition

Active ou désactive la levée d'une exception sur un caractère Unicode non mappable converti en caractère ANSI "?".

public: bool ThrowOnUnmappableChar;
public bool ThrowOnUnmappableChar;
val mutable ThrowOnUnmappableChar : bool
Public ThrowOnUnmappableChar As Boolean 

Valeur de champ

Remarques

Le ThrowOnUnmappableChar champ est false par défaut, ce qui signifie que le champ est désactivé. Définissez ce champ sur true pour indiquer qu’une exception est levée chaque fois que le marshaleur d’interopérabilité convertit un caractère non appappable.

Pour plus d'informations, consultez ThrowOnUnmappableChar.

S’applique à

Voir aussi