31 lines
1.5 KiB
C#
31 lines
1.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Dictates which character set marshaled strings should use.</summary>
|
|
// Token: 0x0200057B RID: 1403
|
|
[Token(Token = "0x200057B")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum CharSet
|
|
{
|
|
/// <summary>This value is obsolete and has the same behavior as <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" />.</summary>
|
|
// Token: 0x0400192E RID: 6446
|
|
[Token(Token = "0x400192E")]
|
|
None = 1,
|
|
/// <summary>Marshal strings as multiple-byte character strings.</summary>
|
|
// Token: 0x0400192F RID: 6447
|
|
[Token(Token = "0x400192F")]
|
|
Ansi,
|
|
/// <summary>Marshal strings as Unicode 2-byte characters.</summary>
|
|
// Token: 0x04001930 RID: 6448
|
|
[Token(Token = "0x4001930")]
|
|
Unicode,
|
|
/// <summary>Automatically marshal strings appropriately for the target operating system. The default is <see cref="F:System.Runtime.InteropServices.CharSet.Unicode" /> on Windows NT, Windows 2000, Windows XP, and the Windows Server 2003 family; the default is <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" /> on Windows 98 and Windows Me. Although the common language runtime default is <see cref="F:System.Runtime.InteropServices.CharSet.Auto" />, languages may override this default. For example, by default C# marks all methods and types as <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" />.</summary>
|
|
// Token: 0x04001931 RID: 6449
|
|
[Token(Token = "0x4001931")]
|
|
Auto
|
|
}
|
|
}
|