admin管理员组

文章数量:1394526

I have a class that has various methods that respond to specific events using the Handles syntax. For example:

Private Sub Click_CardButton(credentials As SQLCredentials, buttonName As String) Handles Me.OnCmdCardButton

End Sub

Is there a way to get the names of the handled events (for example, OnCmdCardButton) using Reflection or another technology?

本文标签: vbnetHow can i get the handles event name from methodesStack Overflow