Interface IFeatureChanges

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that provide information about changes in the feature's shape.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("022F7463-69FA-11D3-9FD0-00C04F6BDD84")]
public interface IFeatureChanges

Remarks

The IFeatureChanges interface is used to analyze an object and determine which shape fields have been modified.

Properties

OriginalShape

The original shape for the feature.

IGeometry OriginalShape { get; }

Property Value

IGeometry

ShapeChanged

Indicates if the shape has changed.

bool ShapeChanged { get; }

Property Value

bool

Remarks

IFeatureChanges::ShapeChanged can be used to determine if a feature's geometry has changed.  If the feature's geometry has been changed, but IRow::Store has not yet been called, ShapeChanged will return True.  Once Store is called, ShapeChanged will return False.  ShapeChanged can also be used in an event triggered by Store, such as IRowEvents::OnChanged.  When used in this manner, ShapeChanged will return True if the feature's shape has changed.  Once Store is complete, ShapeChanged will return false.

When working with Network Features, IFeatureChanges.ShapeChanged will return true in all instances where the geometry has changed and false for any attribute or connectivity update.