这是一个愚蠢的问题,但是是否可以从该方法中获取当前正在执行的方法的名称?
Public Sub SomeMethod()
Dim methodName as String = System.Reflection.[function to get the current method name here?]
End Sub
谢谢
最佳答案
关于.net - 获取当前方法的名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2051217/