| [Serializable] | 
| 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: