Explain Dispose Rationale

Dec 23, 2010 at 8:00 PM

Could you write up something on the code you have for disposing in Shapefile.cs ?  I'm pretty consistently getting exceptions when trying to access metadata following the main loop, and I'm wondering what the proper approach should be.

Thanks.

Coordinator
Dec 24, 2010 at 1:35 AM

It's forward only - enumerate once, dispose and then if you need to loop though again create a new object.

If this doesn't help please provide some more detail about what you're trying to do.