![]() |
This document is archived and information here might be outdated. Recommended version. |
gets changes during edit session.
[Visual Basic .NET] Public Function get_EditDataChanges ( _ ByVal editChangeType As esriEditDataChangesType _ ) As IDataChangesEx
[C#] public IDataChangesEx get_EditDataChanges ( esriEditDataChangesType editChangeType );
[C++]
HRESULT get_EditDataChanges(
esriEditDataChangesType editChangeType,
IDataChangesEx** EditDataChanges
);
[C++] Parameters editChangeType [in]
editChangeType is a parameter of type esriEditDataChangesType EditDataChanges [out, retval]
EditDataChanges is a parameter of type IDataChangesEx**
This property can be used to get a reference to the IDataChangesEx interface. It has one argument which corresponds to the esriEditDataChangesType enumeration. This is used to specify which set of data changes are returned; those from the current edit session or the current edit operation.
The IDataChangesEx interface can be used by application developers to find out what features have been changed with the scope of an edit session or edit operation. The changes returned from a IDataChangesEx object are only accurate to the time of object creation. This means that any edits made after a reference to the IDataChangesEx object will not be reflected when ChangedIDs, Extract, and ExtractEx members are called.
It is recommended that editing be done within an edit operation. Although it is possible to edit some data types outside of an edit operation, its edit state association will be non-deterministic. The scope of the data changes can not be guaranteed when the ChangedIDs, Extract, and ExtractEx members are called on an edit session with edits made outside of an edit operation.