copying the latest Sys.Web.Services from trunk.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _PropertyInfo.cs
1 //\r
2 // System.Runtime.InteropServices._PropertyInfo interface\r
3 //\r
4 // Author:\r
5 //   Kazuki Oikawa  (kazuki@panicode.com)\r
6 //\r
7 \r
8 #if NET_2_0\r
9 \r
10 using System;\r
11 using System.Globalization;\r
12 using System.Reflection;\r
13 \r
14 namespace System.Runtime.InteropServices\r
15 {\r
16         [CLSCompliant (false)]\r
17         [InterfaceType (ComInterfaceType.InterfaceIsDual)]\r
18         [Guid ("F59ED4E4-E68F-3218-BD77-061AA82824BF")]\r
19         public interface _PropertyInfo\r
20         {\r
21                 bool Equals (object obj);\r
22 \r
23                 MethodInfo[] GetAccessors ();\r
24 \r
25                 MethodInfo[] GetAccessors (bool nonPublic);\r
26 \r
27                 object[] GetCustomAttributes (bool inherit);\r
28 \r
29                 object[] GetCustomAttributes (Type attributeType, bool inherit);\r
30 \r
31                 MethodInfo GetGetMethod ();\r
32 \r
33                 MethodInfo GetGetMethod (bool nonPublic);\r
34 \r
35                 int GetHashCode ();\r
36 \r
37                 ParameterInfo[] GetIndexParameters ();\r
38 \r
39                 MethodInfo GetSetMethod ();\r
40 \r
41                 MethodInfo GetSetMethod (bool nonPublic);\r
42 \r
43                 Type GetType ();\r
44 \r
45                 object GetValue (object obj, object[] index);\r
46 \r
47                 object GetValue (object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);\r
48 \r
49                 bool IsDefined (Type attributeType, bool inherit);\r
50 \r
51                 void SetValue (object obj, object value, object[] index);\r
52 \r
53                 void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);\r
54                 \r
55                 string ToString ();\r
56 \r
57                 PropertyAttributes Attributes {get;}\r
58 \r
59                 bool CanRead {get;}\r
60 \r
61                 bool CanWrite {get;}\r
62 \r
63                 Type DeclaringType {get;}\r
64 \r
65                 bool IsSpecialName {get;}\r
66 \r
67                 MemberTypes MemberType {get;}\r
68 \r
69                 string Name {get;}\r
70 \r
71                 Type PropertyType {get;}\r
72 \r
73                 Type ReflectedType {get;}\r
74         }\r
75 }\r
76 #endif