Hi,
I am using a Hashtable which stores unique names and objects associated with those names.
Now those objects have a property called "IsDynamic" and some of them have it set to false whie some of them have it set to true.
So when I retrieve any object using the key property, it goes to find me that object. How do I override that find method?
Code:
Dim pTest As Hashtable
pTest = New Hashtable
pTest.Add("Test1", "Blah1")
pTest.Add("Test2", "Blah2")
pTest.Add("Test3", "Blah3")
Dim sTest As String
sTest = pTest("Test2")
I want to override the method which does this part
so I can check certain things of the object first and if needed then call a method of that object before giving that object back to the user.
Hope this makes sense. If any questions then please ask. I am ok to create my object inheriting from Hashtable too.
Cheers