This document is archived and information here might be outdated.  Recommended version.


IWorkspaceEdit2.EditDataChanges Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceEdit2 Interface > IWorkspaceEdit2.EditDataChanges Property
ArcGIS Developer Help

IWorkspaceEdit2.EditDataChanges Property

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**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IWorkspaceEdit2 Interface