Re: How to know instance name?
- From: "Joanna Carter [TeamB]" <joanna@xxxxxxxxxxxx>
- Date: Fri, 16 Jun 2006 09:33:24 +0100
"Angel Mateos" <amateos@xxxxxxxxx> a écrit dans le message de news:
ufqWAuRkGHA.3304@xxxxxxxxxxxxxxxxxxxxxxx
| sorry but what I want to know is the name of the variable that has
| instanciated the class
Variables don't have "names", the word you see in the code is simply for
your convenience; the reality is that the compiler knows variables as
addresses in memory.
It would certainly be impossible for a class to be able to return any one
name, as there could be thousands of instances of the same class.
Joanna
--
Joanna Carter [TeamB]
Consultant Software Engineer
.
- References:
- How to know instance name?
- From: Angel Mateos
- Re: How to know instance name?
- From: Patrice
- Re: How to know instance name?
- From: Angel Mateos
- How to know instance name?
- Prev by Date: Re: Help with XOR
- Next by Date: RE: Read Windows service Config file
- Previous by thread: Re: How to know instance name?
- Next by thread: Re: How to know instance name?
- Index(es):
Relevant Pages
|