System.Runtime.InteropServices._MethodInfo.GetBaseDefinition Method

Provides COM objects with version-independent access to the System.Reflection.MethodInfo.GetBaseDefinition method.

Syntax

public System.Reflection.MethodInfo GetBaseDefinition ()

Returns

A System.Reflection.MethodInfo object for the first implementation of this method.

Remarks

This method is for access to managed classes from unmanaged code and should not be called from managed code.

The System.Reflection.MethodInfo.GetBaseDefinition method returns the System.Reflection.MethodInfo object for the method on the direct or indirect base class in which the method represented by this instance was first declared.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0