IsEmpty Property (EditOperation)
Gets a value indicating if the EditOperation is empty.
public bool IsEmpty {get;}
Public ReadOnly Property IsEmpty As Boolean
Property Value
true if the EditOperation has no methods set before executing.
Edit Operation - check for actions before Execute
// Some times when using EditOperation.Modify you can unknowingly be attempting to set
// an attribute to value
// setting
// In this scenario the Modify action will detect that nothing is required
// and do nothing. Because no actions have occurred, the
// Consequently the Execute operation will fail.
if (!opEdit.IsEmpty)
opEdit.Execute();
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.