MethodInfo Class
Discovers the attributes of a method and provides access to method metadata.
For a list of all members of this type, see MethodInfo Members.
System.Object
System.Reflection.MemberInfo
System.Reflection.MethodBase
System.Reflection.MethodInfo
System.Reflection.Emit.MethodBuilder
[Visual Basic] <Serializable> <ClassInterface(ClassInterfaceType.AutoDual)> MustInherit Public Class MethodInfo Inherits MethodBase [C#] [Serializable] [ClassInterface(ClassInterfaceType.AutoDual)] public abstract class MethodInfo : MethodBase [C++] [Serializable] [ClassInterface(ClassInterfaceType::AutoDual)] public __gc __abstract class MethodInfo : public MethodBase [JScript] public Serializable ClassInterface(ClassInterfaceType.AutoDual) abstract class MethodInfo extends MethodBase
Thread Safety
This type is safe for multithreaded operations.
Remarks
Instances of MethodInfo are obtained by calling either the GetMethods or GetMethod method of a Type object.
Notes to Inheritors: When you inherit from MethodInfo, you must override GetBaseDefinition.
Example
Requirements
Namespace: System.Reflection
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: Mscorlib (in Mscorlib.dll)