แก้ไข

แชร์ผ่าน


BestFitMappingAttribute.ThrowOnUnmappableChar Field

Definition

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

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

Applies to