public enum CharSet
Object
ValueType
Enum
CharSet
mscorlib
RuntimeInfrastructure
Specifies which character set marshaled strings are required to use.
This enumeration is used by the DllImportAttribute to indicate the required modifications to the String arguments of an imported function.[Note: See the DllImportAttribute class overview for an example that uses the CharSet enumeration.]
System.Runtime.InteropServices Namespace
CharSet Fields
CharSet.Ansi Field
CharSet.Auto Field
CharSet.Unicode Field
CharSet.value__ Field
Ansi = 2;
Specifies that strings will be marshaled in the ANSI character set.
System.Runtime.InteropServices.CharSet Enum, System.Runtime.InteropServices Namespace
Auto = 4;
Specifies that strings will be automatically marshaled in the character set appropriate for the target system (either Unicode or ANSI).
System.Runtime.InteropServices.CharSet Enum, System.Runtime.InteropServices Namespace
Unicode = 3;
Specifies that strings will be marshaled in the Unicode character set.
System.Runtime.InteropServices.CharSet Enum, System.Runtime.InteropServices Namespace
value__;
System.Runtime.InteropServices.CharSet Enum, System.Runtime.InteropServices Namespace