using System; using System.Reflection; namespace System.Runtime.InteropServices { /// Exposes the public members of the class to unmanaged code. // Token: 0x02000036 RID: 54 [CLSCompliant(false)] [ComVisible(true)] [TypeLibImportClass(typeof(MemberInfo))] [Guid("f7102fa9-cabb-3a74-a6da-b4567ef1b079")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface _MemberInfo { /// Provides COM objects with version-independent access to the method. /// true if the specified is equal to the current ; otherwise, false. /// The to compare with the current . // Token: 0x06000588 RID: 1416 bool Equals(object other); /// Provides COM objects with version-independent access to the method. /// An array that contains all the custom attributes, or an array with zero (0) elements if no attributes are defined. /// true to search this member's inheritance chain to find the attributes; otherwise, false. // Token: 0x06000589 RID: 1417 object[] GetCustomAttributes(bool inherit); /// Provides COM objects with version-independent access to the method. /// An array of custom attributes applied to this member, or an array with zero (0) elements if no attributes have been applied. /// The type of attribute to search for. Only attributes that are assignable to this type are returned. /// true to search this member's inheritance chain to find the attributes; otherwise, false. // Token: 0x0600058A RID: 1418 object[] GetCustomAttributes(Type attributeType, bool inherit); /// Provides COM objects with version-independent access to the method. /// The hash code for the current instance. // Token: 0x0600058B RID: 1419 int GetHashCode(); /// Provides COM objects with version-independent access to the method. /// A object. // Token: 0x0600058C RID: 1420 Type GetType(); /// Provides COM objects with version-independent access to the method. /// true if one or more instance of the parameter is applied to this member; otherwise, false. /// The object to which the custom attributes are applied. /// true to search this member's inheritance chain to find the attributes; otherwise, false. // Token: 0x0600058D RID: 1421 bool IsDefined(Type attributeType, bool inherit); /// Provides COM objects with version-independent access to the method. /// A string that represents the current . // Token: 0x0600058E RID: 1422 string ToString(); /// Provides COM objects with version-independent access to the property. /// The object for the class that declares this member. // Token: 0x17000068 RID: 104 // (get) Token: 0x0600058F RID: 1423 Type DeclaringType { get; } /// Provides COM objects with version-independent access to the property. /// One of the values indicating the type of member. // Token: 0x17000069 RID: 105 // (get) Token: 0x06000590 RID: 1424 MemberTypes MemberType { get; } /// Provides COM objects with version-independent access to the property. /// A object containing the name of this member. // Token: 0x1700006A RID: 106 // (get) Token: 0x06000591 RID: 1425 string Name { get; } /// Provides COM objects with version-independent access to the property. /// The object that was used to obtain this object. // Token: 0x1700006B RID: 107 // (get) Token: 0x06000592 RID: 1426 Type ReflectedType { get; } /// Maps a set of names to a corresponding set of dispatch identifiers. /// Reserved for future use. Must be IID_NULL. /// An array of names to be mapped. /// The count of the names to be mapped. /// The locale context in which to interpret the names. /// An array allocated by the caller that receives the identifiers corresponding to the names. // Token: 0x06000593 RID: 1427 void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId); /// Retrieves the type information for an object, which can be used to get the type information for an interface. /// The type information to return. /// The locale identifier for the type information. /// A pointer to the requested type information object. // Token: 0x06000594 RID: 1428 void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo); /// Retrieves the number of type information interfaces that an object provides (either 0 or 1). /// When this method returns, contains a pointer to a location that receives the number of type information interfaces provided by the object. This parameter is passed uninitialized. // Token: 0x06000595 RID: 1429 void GetTypeInfoCount(out uint pcTInfo); /// Provides access to properties and methods exposed by an object. /// An identifier for the member. /// Reserved for future use. Must be IID_NULL. /// The locale context in which to interpret arguments. /// Flags describing the context of the call. /// A pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays. /// A pointer to the location where the result will be stored. /// A pointer to a structure that contains exception information. /// The index of the first argument that has an error. // Token: 0x06000596 RID: 1430 void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr); } }