Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Dictates which character set marshaled strings should use.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Enumeration CharSet
[SerializableAttribute]
public enum CharSet
[SerializableAttribute]
public enum class CharSet
[<SerializableAttribute>]
type CharSet
public enum CharSet
Members
Member name | Description | |
---|---|---|
None | This value is obsolete and has the same behavior as CharSet..::..Ansi. | |
Ansi | Marshal strings as multiple-byte character strings. | |
Unicode | Marshal strings as Unicode 2-byte characters. | |
Auto | Automatically marshal strings appropriately for the target operating system. |