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.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για