Any method to return the current procedure name in VB.Net

N

Norton

Dear All,

Does anyone know hoe to get the current procedure name in Vb.Net ?

Example
Private Function TestingMe() as string
Return thisProcedureName
End Function

and the function can return "TestingMe"
 
B

burcinyazici

you can use this method:

System.Reflection.MethodBase.GetCurrentMethod.Name()

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top