System.Runtime.InteropServices.CharSet Enumeration

Assembly: Mscorlib.dll
Namespace: System.Runtime.InteropServices
Summary
Dictates which character set marshaled strings should use.
C# Syntax:
[Serializable]
public enum CharSet
See also:
System.Runtime.InteropServices Namespace

System.Runtime.InteropServices.CharSet Member List:

Public Fields
Ansi Marshal strings as ANSI 1-byte characters.
Auto Automatically marshal strings appropriately for the target system. The default is CharSet.Unicode on Windows NT and Windows 2000, and CharSet.Ansi on Windows 98.
None This value is obsolete and now has the same behavior as CharSet.Ansi.
Unicode Marshal strings as Unicode 2-byte characters.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.