Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have an Esri based system with a class extension registered for the feature classes. This extension implements IObjectClassEvents, and handles OnChange. I get passed the modified object, but after the change was made (e.g. an object was moved from within ArcMap).

However, I also need to know the state of the IObject before the change was made. How do I go about that?

Thanks in advance.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Try IFeatureChanges (for features) or more generally, IRowChanges for either a row or a feature.

share|improve this answer
    
Thanks, casting the IObject to IRowChanges gave me exactly what I was looking for. –  Cumbayah Jul 28 '10 at 14:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.