D
Dufus
I want a way of checking an object to see that it either implements the
IEnumerable or ICollection Interface. I could use something like this: (in
VB)
If Not obj.GetInterface "IEnumerable" is nothing Then
........
But what happens when the object is a custom collection that inherits from
another collection object that implements these interfaces.
IEnumerable or ICollection Interface. I could use something like this: (in
VB)
If Not obj.GetInterface "IEnumerable" is nothing Then
........
But what happens when the object is a custom collection that inherits from
another collection object that implements these interfaces.