EditResult

EditResult is 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 Succeeded is false, ErrorCode and ErrorDescription provide information about the error that occurred. If Succeeded is true, ObjectID and GlobalID values can be read. Reading these values is often useful while adding features or objects.

10/23/2013