UnmanagedFunctionPointerAttribute.BestFitMapping Field


Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public bool BestFitMapping

Field Value

Type: System.Boolean

The BestFitMapping field is true by default, which means that best-fit mapping behavior is enabled. If the field is false, best-fit mapping is disabled. Settings for this field override any level settings for the BestFitMappingAttribute attribute.

For more information, see BestFitMapping.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top