Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Runtime.​InteropServices.​BestFitMappingAttribute

Assembly: System.Runtime.InteropServices

Inheritance: object → Attribute → BestFitMappingAttribute

Controls whether Unicode characters are converted to the closest matching ANSI characters.

Fields and Constants

public bool
ThrowOnUnmappableChar
Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI '?' character.

Properties

public bool
BestFitMapping
Gets the best-fit mapping behavior when converting Unicode characters to ANSI characters.
public object
TypeId

Methods

public bool
Equals​(object obj)
Inherited from Attribute
public int
GetHashCode​()
Inherited from Attribute
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object