Added piles of new enumerations from Sergey.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / CharSet.cs
1 // CharSet.cs\r
2 //\r
3 // This code was automatically generated from\r
4 // ECMA CLI XML Library Specification.\r
5 // Generator: libgen.xsl\r
6 // Source file: AllTypes.xml\r
7 // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml\r
8 //\r
9 // (C) 2001 Ximian, Inc.  http://www.ximian.com\r
10 \r
11 \r
12 namespace System.Runtime.InteropServices {\r
13 \r
14 \r
15         /// <summary>\r
16         /// <para>Specifies which character set marshaled strings are required to use.</para>\r
17         /// </summary>\r
18         /// <remarks>\r
19         /// <para>This enumeration is used by the <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> to indicate the\r
20         ///    required modifications to the <see cref="T:System.String" /> arguments of an imported function.</para>\r
21         /// <para>\r
22         /// <block subset="none" type="note">See the <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> class overview for an example of\r
23         /// the use of the <see cref="T:System.Runtime.InteropServices.CharSet" /> enumeration.</block>\r
24         /// </para>\r
25         /// </remarks>\r
26         public enum CharSet {\r
27 \r
28                 /// <summary><para> Specifies that strings will be marshaled in the ANSI character\r
29                 ///       set.</para></summary>\r
30                 Ansi = 2,\r
31 \r
32                 /// <summary><para> Specifies that strings will be marshaled in the Unicode character set.</para></summary>\r
33                 Unicode = 3,\r
34 \r
35                 /// <summary><para> Specifies that strings will be automatically marshaled in the character set appropriate\r
36                 ///       for the target system (either Unicode or ANSI).</para></summary>\r
37                 Auto = 4,\r
38         } // CharSet\r
39 \r
40 } // System.Runtime.InteropServices\r