RuntimeReflectionExtensions.GetRuntimeBaseDefinition(MethodInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetRuntimeBaseDefinition(System::Reflection::MethodInfo ^ method);
public static System.Reflection.MethodInfo GetRuntimeBaseDefinition (this System.Reflection.MethodInfo method);
public static System.Reflection.MethodInfo? GetRuntimeBaseDefinition (this System.Reflection.MethodInfo method);
static member GetRuntimeBaseDefinition : System.Reflection.MethodInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetRuntimeBaseDefinition (method As MethodInfo) As MethodInfo
Parameters
- method
- MethodInfo
The method to retrieve information about.
Returns
An object that represents the specified method's initial declaration on a base class.
Exceptions
method
is null
.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา