naive question

  • Thread starter Thread starter GS
  • Start date Start date
G

GS

in VB express, me is either the application or the form depending on
context. Is the an object pronoun that points the current sub, function or
event? I want to use that pronoun to display sub name,.... in debug
messages
 
There is no Me-like thing available for this but the following will get you
what you are looking for:

System.Reflection.MethodInfo.GetCurrentMethod ().Name


in VB express, me is either the application or the form depending on
context. Is the an object pronoun that points the current sub, function or
event? I want to use that pronoun to display sub name,.... in debug
messages
 
Back
Top