RuntimeReflectionExtensions.GetRuntimeBaseDefinition(MethodInfo) RuntimeReflectionExtensions.GetRuntimeBaseDefinition(MethodInfo) RuntimeReflectionExtensions.GetRuntimeBaseDefinition(MethodInfo) RuntimeReflectionExtensions.GetRuntimeBaseDefinition(MethodInfo) Method

定義

メソッドが最初に宣言された直接基本クラスまたは間接基本クラスの指定したメソッドを表すオブジェクトを取得します。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);
static member GetRuntimeBaseDefinition : System.Reflection.MethodInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetRuntimeBaseDefinition (method As MethodInfo) As MethodInfo

パラメーター

method
MethodInfo MethodInfo MethodInfo MethodInfo

情報の取得対象のメソッド。The method to retrieve information about.

戻り値

基本クラスにおける指定されたメソッドの最初の宣言を表すオブジェクト。An object that represents the specified method's initial declaration on a base class.

例外

適用対象

こちらもご覧ください