Редагувати

Поділитися через


RuntimeReflectionExtensions.GetRuntimeBaseDefinition(MethodInfo) Method

Definition

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