DllImportData.ThrowOnUnmappableCharacter 属性

定义

启用或禁用在遇到已被转换为 ANSI“?”字符的无法映射的 Unicode 字符时引发异常。 如果未指定,则为 Null。

public:
 property Nullable<bool> ThrowOnUnmappableCharacter { Nullable<bool> get(); };
public bool? ThrowOnUnmappableCharacter { get; }
member this.ThrowOnUnmappableCharacter : Nullable<bool>
Public ReadOnly Property ThrowOnUnmappableCharacter As Nullable(Of Boolean)

属性值

适用于