Enumerating Object Collections


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Can someone please confirm that certain collections cannot be enumerated?  For example, the SF ListView and any Business Object are not enumerable objects.  I am unable to run a foreach statement against these collections.  I get an error like this:

foreach statement cannot operate on variables of type 'MicroFour.StrataFrame.UI.Windows.Forms.ListView' because 'MicroFour.StrataFrame.UI.Windows.Forms.ListView' does not contain a public definition for 'GetEnumerator'

Are there others that I may need to be aware of?

Thanks,
Bill

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search