C
cybertof
Hi !
I have a class instance named MyObject (instance of CObject class).
I would like to add a reference (not a copy) to it as an hashtable
value.
I use this code :
MyHashTable.Add("key1", MyObject)
If I do the following :
MyHashTable["key1"] = null
only the object in the hashtable is 'nulled'.
Is there a special syntax to add the reference and not a copy of the
object ?
Regards;
Cybertof.
I have a class instance named MyObject (instance of CObject class).
I would like to add a reference (not a copy) to it as an hashtable
value.
I use this code :
MyHashTable.Add("key1", MyObject)
If I do the following :
MyHashTable["key1"] = null
only the object in the hashtable is 'nulled'.
Is there a special syntax to add the reference and not a copy of the
object ?
Regards;
Cybertof.