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: 0x0200059A RID: 1434
|
|
[Token(Token = "0x200059A")]
|
|
[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: 0x040019F1 RID: 6641
|
|
[Token(Token = "0x40019F1")]
|
|
None = 1,
|
|
/// <summary>Marshal strings as multiple-byte character strings.</summary>
|
|
// Token: 0x040019F2 RID: 6642
|
|
[Token(Token = "0x40019F2")]
|
|
Ansi,
|
|
/// <summary>Marshal strings as Unicode 2-byte characters.</summary>
|
|
// Token: 0x040019F3 RID: 6643
|
|
[Token(Token = "0x40019F3")]
|
|
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: 0x040019F4 RID: 6644
|
|
[Token(Token = "0x40019F4")]
|
|
Auto
|
|
}
|
|
}
|