2 // System.Runtime.InteropServices._PropertyInfo interface
\r
5 // Kazuki Oikawa (kazuki@panicode.com)
\r
11 using System.Globalization;
\r
12 using System.Reflection;
\r
14 namespace System.Runtime.InteropServices
\r
16 [CLSCompliant (false)]
\r
17 [InterfaceType (ComInterfaceType.InterfaceIsDual)]
\r
18 [Guid ("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
\r
19 public interface _PropertyInfo
\r
21 bool Equals (object obj);
\r
23 MethodInfo[] GetAccessors ();
\r
25 MethodInfo[] GetAccessors (bool nonPublic);
\r
27 object[] GetCustomAttributes (bool inherit);
\r
29 object[] GetCustomAttributes (Type attributeType, bool inherit);
\r
31 MethodInfo GetGetMethod ();
\r
33 MethodInfo GetGetMethod (bool nonPublic);
\r
37 ParameterInfo[] GetIndexParameters ();
\r
39 MethodInfo GetSetMethod ();
\r
41 MethodInfo GetSetMethod (bool nonPublic);
\r
45 object GetValue (object obj, object[] index);
\r
47 object GetValue (object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
\r
49 bool IsDefined (Type attributeType, bool inherit);
\r
51 void SetValue (object obj, object value, object[] index);
\r
53 void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
\r
57 PropertyAttributes Attributes {get;}
\r
61 bool CanWrite {get;}
\r
63 Type DeclaringType {get;}
\r
65 bool IsSpecialName {get;}
\r
67 MemberTypes MemberType {get;}
\r
71 Type PropertyType {get;}
\r
73 Type ReflectedType {get;}
\r