EditResult

A class used to fetch back the result of an object or feature’s add, delete, or update result.

 

Property

Type

Description

Code

int

The error code for the failure, if one occurred.

Description

string

The description for the error, if one occurred.

GlobalID

string

The feature’s GUID, if the edit was successful.

OID

int

The feature’s object ID if the edit was successful.

Succeeded

bool

Set to true if the feature edit succeeded, otherwise is false.

 

Remarks

 

If the edit failed, Succeeded is false and the  Code and Description properties provide information about the error that occurred. If the edit was successful,  Succeeded is true and OID and GlobalID values can be read. Reading these values is often useful while adding features or objects.