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


IFeatureChanges.ShapeChanged Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureChanges Interface > IFeatureChanges.ShapeChanged Property
ArcGIS Developer Help

IFeatureChanges.ShapeChanged Property

Indicates if the shape has changed.

[Visual Basic .NET]
Public ReadOnly Property ShapeChanged As Boolean
[C#]
public bool ShapeChanged {get;}
[C++]
HRESULT get_ShapeChanged(
  Boolean* changed
);
[C++]
Parameters
changed [out, retval]

changed is a parameter of type bool*

Product Availability

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

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.

See Also

IFeatureChanges Interface