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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.