NeuralJack
Centurion
- Joined
- Jul 28, 2005
- Messages
- 138
Hi what is the mechanism for which I could use to add functions to lists of certain classes? I'm guessing that there is one.
So I want these lists to have some of the same functions:
List (of Class1)
List (of Class2)
List (of Class3)
The specific functions I'd want to add are like:
.GetObjectFromName
.GetIndexFromName
So Each of Class1, Class2, and Class3 have a variable named "Name"
I know about how to use interfaces but I'm not sure about how add an interface with a pre-existing class or collection object.
Thanks
So I want these lists to have some of the same functions:
List (of Class1)
List (of Class2)
List (of Class3)
The specific functions I'd want to add are like:
.GetObjectFromName
.GetIndexFromName
So Each of Class1, Class2, and Class3 have a variable named "Name"
I know about how to use interfaces but I'm not sure about how add an interface with a pre-existing class or collection object.
Thanks
Last edited: