Export (0) Print
Expand All

MethodBase.GetCurrentMethod Method

Returns a MethodBase object representing the currently executing method.

[Visual Basic]
Public Shared Function GetCurrentMethod() As MethodBase
[C#]
public static MethodBase GetCurrentMethod();
[C++]
public: static MethodBase* GetCurrentMethod();
[JScript]
public static function GetCurrentMethod() : MethodBase;

Return Value

A MethodBase object representing the currently executing method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

MethodBase Class | MethodBase Members | System.Reflection Namespace

Show:
© 2014 Microsoft