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 セキュリティ:
- ReflectionPermission (Type.InvokeMember などの機構を通じて遅延バインディングで呼び出すときに必要なアクセス許可) ReflectionPermissionFlag.MemberAccess (関連する列挙体)