RuntimeReflectionExtensions.GetMethodInfo Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets an object that represents the method represented by the specified delegate.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)


<ExtensionAttribute> _
Public Shared Function GetMethodInfo ( _
    del As Delegate _
) As MethodInfo
public static MethodInfo GetMethodInfo(
    this Delegate del


Return Value

Type: System.Reflection..::.MethodInfo
An object that represents the method.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Delegate. When you use instance method syntax to call this method, omit the first parameter.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also


RuntimeReflectionExtensions Class

System.Reflection Namespace