Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / runtime / interopservices / windowsruntime / propertyvalue.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 //
7 // <OWNER>[....]</OWNER>
8 // <OWNER>[....]</OWNER>
9 // <OWNER>[....]</OWNER>
10 // <OWNER>[....]</OWNER>
11
12 using System;
13 using System.Diagnostics.Contracts;
14 using System.Globalization;
15 using System.Runtime.CompilerServices;
16 using System.Runtime.InteropServices;
17 using System.Security;
18
19 namespace System.Runtime.InteropServices.WindowsRuntime
20 {
21     // Note this is a copy of the PropertyType enumeration from Windows.Foundation.winmd
22     internal enum PropertyType
23     {
24         // WARNING: These values have to match enum Windows.Foundation.PropertyType !!!
25         Empty = 0, 
26         UInt8 = 1, 
27         Int16 = 2,
28         UInt16 = 3,
29         Int32 = 4, 
30         UInt32 = 5, 
31         Int64 = 6, 
32         UInt64 = 7, 
33         Single = 8, 
34         Double = 9, 
35         Char16 = 10, 
36         Boolean = 11, 
37         String = 12, 
38         Inspectable = 13, 
39         DateTime = 14,
40         TimeSpan = 15,
41         Guid = 16,
42         Point = 17,
43         Size = 18,
44         Rect = 19,
45
46         Other = 20,
47
48         UInt8Array = UInt8 + 1024,
49         Int16Array = Int16 + 1024,
50         UInt16Array = UInt16 + 1024,
51         Int32Array = Int32 + 1024,
52         UInt32Array = UInt32 + 1024,
53         Int64Array = Int64 + 1024,
54         UInt64Array = UInt64 + 1024,
55         SingleArray = Single + 1024,
56         DoubleArray = Double + 1024,
57         Char16Array = Char16 + 1024,
58         BooleanArray = Boolean + 1024,
59         StringArray = String + 1024,
60         InspectableArray = Inspectable + 1024,
61         DateTimeArray = DateTime + 1024,
62         TimeSpanArray = TimeSpan + 1024,
63         GuidArray = Guid + 1024,
64         PointArray = Point + 1024,
65         SizeArray = Size + 1024,
66         RectArray = Rect + 1024,
67         OtherArray = Other + 1024,
68     }
69 }