次の方法で共有


MethodBase.GetCurrentMethod メソッド

現在実行中のメソッドを表す MethodBase オブジェクトを返します。

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

戻り値

現在実行中のメソッドを表す MethodBase オブジェクト。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

MethodBase クラス | MethodBase メンバ | System.Reflection 名前空間