_MethodInfo.GetBaseDefinition 方法
定义
为 COM 对象提供对 GetBaseDefinition() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetBaseDefinition() method.
public:
System::Reflection::MethodInfo ^ GetBaseDefinition();
public System.Reflection.MethodInfo GetBaseDefinition ();
abstract member GetBaseDefinition : unit -> System.Reflection.MethodInfo
Public Function GetBaseDefinition () As MethodInfo
返回
表示此方法第一个实现的 MethodInfo 对象。A MethodInfo object for the first implementation of this method.
注解
此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code and should not be called from managed code.
GetBaseDefinition方法 MethodInfo 为直接或间接基类上的方法返回对象,在此类中,此实例所表示的方法首先是声明的。The GetBaseDefinition method returns the MethodInfo object for the method on the direct or indirect base class in which the method represented by this instance was first declared.