| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- //
- // System.Runtime.InteropServices._MethodBase interface
- //
- // Author:
- // Kazuki Oikawa ([email protected])
- //
- using System;
- using System.Globalization;
- using System.Reflection;
- namespace System.Runtime.InteropServices
- {
- [CLSCompliant (false)]
- [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
- [Guid ("6240837A-707F-3181-8E98-A36AE086766B")]
- [TypeLibImportClass (typeof (MethodBase))]
- [ComVisible (true)]
- public interface _MethodBase
- {
- bool Equals (object other);
-
- object[] GetCustomAttributes (bool inherit);
-
- object[] GetCustomAttributes (Type attributeType, bool inherit);
-
- int GetHashCode ();
- MethodImplAttributes GetMethodImplementationFlags ();
-
- ParameterInfo[] GetParameters ();
- void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
- void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
- void GetTypeInfoCount (out uint pcTInfo);
- void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
- IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
-
- Type GetType ();
- object Invoke (object obj, object[] parameters);
-
- object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
-
- bool IsDefined(Type attributeType, bool inherit);
-
- string ToString ();
- MethodAttributes Attributes {get;}
- CallingConventions CallingConvention {get;}
- Type DeclaringType {get;}
- bool IsAbstract {get;}
- bool IsAssembly {get;}
- bool IsConstructor {get;}
- bool IsFamily {get;}
- bool IsFamilyAndAssembly {get;}
- bool IsFamilyOrAssembly {get;}
- bool IsFinal {get;}
- bool IsHideBySig {get;}
- bool IsPrivate {get;}
- bool IsPublic {get;}
- bool IsSpecialName {get;}
- bool IsStatic {get;}
- bool IsVirtual {get;}
- MemberTypes MemberType {get;}
- RuntimeMethodHandle MethodHandle {get;}
- string Name {get;}
- Type ReflectedType {get;}
- }
- }
|