Provides information about methods and constructors.
Namespace:
System.Reflection
Assembly:
mscorlib (in mscorlib.dll)
Visual Basic (Declaration)
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public MustInherit Class MethodBase _
Inherits MemberInfo _
Implements _MethodBase
Dim instance As MethodBase
[SerializableAttribute]
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public abstract class MethodBase : MemberInfo,
_MethodBase
[SerializableAttribute]
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class MethodBase abstract : public MemberInfo,
_MethodBase
public abstract class MethodBase extends MemberInfo implements _MethodBase
MethodBase is the base class of MethodInfo and ConstructorInfo.
Notes to Inheritors: When you inherit from MethodBase, you must override the following members: MethodBase..::.GetParameters, MethodBase..::.Invoke, MethodBase..::.GetMethodImplementationFlags, MethodBase..::.MethodHandle, MethodBase..::.Attributes, MemberInfo..::.Name, MemberInfo..::.DeclaringType, MemberInfo..::.MemberType, MemberInfo..::.ReflectedType, MemberInfo..::.GetCustomAttributes(Boolean), MemberInfo..::.GetCustomAttributes(Type, Boolean), and MemberInfo..::.IsDefined.
System..::.Object
System.Reflection..::.MemberInfo
System.Reflection..::.MethodBase
System.Reflection..::.ConstructorInfo
System.Reflection..::.MethodInfo
This type is thread safe.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0
XNA Framework
Supported in: 3.0, 2.0, 1.0
Reference