M
Mark Kamoski
Hi Everyone--
Please help.
How can one get the name of the current project and the current class?
This is the situation.
Suppose there is a project called "P1".
Now, suppose that in the P1 project there is a class called "C1".
Now, suppose that in the C1 class there is a method called "M1".
Now, suppose that code is executing in M1 and one wants to grab the name of
current the project and the name of the current class and read them into
variables.
How can this be done?
(As a bonus, it would also be GREAT if one could grab the name of the
current method too, but I was once told this cannot be done; but, I don't
believe it.)
Any help is appreciated.
(Please note that I am looking in the help files under Reflection, but I
have not found it yet.)
Thank you.
--Mark
Please help.
How can one get the name of the current project and the current class?
This is the situation.
Suppose there is a project called "P1".
Now, suppose that in the P1 project there is a class called "C1".
Now, suppose that in the C1 class there is a method called "M1".
Now, suppose that code is executing in M1 and one wants to grab the name of
current the project and the name of the current class and read them into
variables.
How can this be done?
(As a bonus, it would also be GREAT if one could grab the name of the
current method too, but I was once told this cannot be done; but, I don't
believe it.)
Any help is appreciated.
(Please note that I am looking in the help files under Reflection, but I
have not found it yet.)
Thank you.
--Mark