error messages review
[mono.git] / mcs / class / System / System.ComponentModel / EditorBrowsableState.cs
1 //\r
2 // ProjectData.cs\r
3 //\r
4 // Author:\r
5 //   Martin Adoue (martin@cwanet.com)\r
6 //\r
7 // (C) 2002 Martin Adoue\r
8 //\r
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 \r
31 using System;\r
32 \r
33 namespace System.ComponentModel\r
34 {\r
35 \r
36         /// <summary>\r
37         /// Specifies the browsable state of a property or method from within an editor.\r
38         /// </summary>\r
39         public enum EditorBrowsableState \r
40         {\r
41                 /// <summary>\r
42                 /// The property or method is always browsable from within an editor.\r
43                 /// </summary>\r
44                 Always = 0,\r
45                 /// <summary>\r
46                 /// The property or method is never browsable from within an editor.\r
47                 /// </summary>\r
48                 Never = 1,\r
49                 /// <summary>\r
50                 /// The property or method is a feature that only advanced users should see. An editor can either show or hide such properties.\r
51                 /// </summary>\r
52                 Advanced = 2\r
53         }\r
54 \r
55 }\r