This document is archived and information here might be outdated. Recommended version. |
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*
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.