This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureChanges Interface > IFeatureChanges.ShapeChanged Property (ArcObjects .NET 10.4 SDK) |
Indicates if the shape has changed.
[Visual Basic .NET] Public ReadOnly Property ShapeChanged As Boolean
[C#] public bool ShapeChanged {get;}
[C++]
HRESULT get_ShapeChanged(
VARIANT_BOOL* changed
);
[C++]
Parameters changed [out, retval] changed is a parameter of type VARIANT_BOOL
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.