Exposing KeyCollection to COM?

40 Views Asked by At

I'd like to expose my Dictionary(int, obj) to COM so the VBA people can do for i = 1 to UnitKey.Count. I thought I could simply Public Function UnitKeys() As KeyCollection, but "KeyCollection isn't defined". What is the proper way to expose these?

0

There are 0 best solutions below