Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这不是一个真正的问题,因为我发现了如何做到这一点。从代表开始。
Public Delegate Sub PageFunction()
然后,定义一个函数,例如:
Sub Action() End Sub
然后您可以从其地址中获取函数名称,例如:
Dim x As PageFunction = AddressOf Action Response.Write( x.Method.Name )