[Android] Enable access to up-to-date tzdata on Android 10+ (#20350)
[mono-project.git] / mcs / class / corlib / System.Runtime.InteropServices / _PropertyInfo.cs
blob12855f7862f822f3cbadda0a11e9606b4a03c378
1 //
2 // System.Runtime.InteropServices._PropertyInfo interface
3 //
4 // Author:
5 // Kazuki Oikawa (kazuki@panicode.com)
6 //
8 using System;
9 using System.Globalization;
10 using System.Reflection;
12 namespace System.Runtime.InteropServices
14 [CLSCompliant (false)]
15 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
16 [Guid ("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
17 #if !FULL_AOT_RUNTIME
18 [TypeLibImportClass (typeof (PropertyInfo))]
19 #endif
20 [ComVisible (true)]
21 public interface _PropertyInfo
23 bool Equals (object other);
25 MethodInfo[] GetAccessors ();
27 MethodInfo[] GetAccessors (bool nonPublic);
29 object[] GetCustomAttributes (bool inherit);
31 object[] GetCustomAttributes (Type attributeType, bool inherit);
33 MethodInfo GetGetMethod ();
35 MethodInfo GetGetMethod (bool nonPublic);
37 int GetHashCode ();
39 ParameterInfo[] GetIndexParameters ();
41 MethodInfo GetSetMethod ();
43 MethodInfo GetSetMethod (bool nonPublic);
45 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
47 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
49 void GetTypeInfoCount (out uint pcTInfo);
51 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
52 IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
54 Type GetType ();
56 object GetValue (object obj, object[] index);
58 object GetValue (object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
60 bool IsDefined (Type attributeType, bool inherit);
62 void SetValue (object obj, object value, object[] index);
64 void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
66 string ToString ();
68 PropertyAttributes Attributes {get;}
70 bool CanRead {get;}
72 bool CanWrite {get;}
74 Type DeclaringType {get;}
76 bool IsSpecialName {get;}
78 MemberTypes MemberType {get;}
80 string Name {get;}
82 Type PropertyType {get;}
84 Type ReflectedType {get;}