System.Runtime.InteropServices.CharSet.Auto Field

Automatically marshal strings appropriately for the target operating system. The default is CharSet.Unicode on Windows NT, Windows 2000, Windows XP, and the Windows Server 2003 family; the default is CharSet.Ansi on Windows 98 and Windows Me. Although the common language runtime default is CharSet.Auto, languages may override this default. For example, by default C# marks all methods and types as CharSet.Ansi.

Value: Auto

Syntax

CharSet Auto

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0