Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am currently in the process of wrapping some COM objects, (the hard way, as tlb is not available), and some of the interfaces return IEnumXXXX types (an old favourite of mine from the days of ATL). I was wondering if anyone knows if .NET has any internal tricks for turning these into IEnumerators, or if I have to do all the typing myself?

What I have tried:

Not tried anything yet. If .NET has a built-in translator, then I will use that. Otherwise a simple Next() -- Yield flow for each of them is not difficult, just a lot of typing.
Posted
Updated 5-Oct-16 0:23am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900