Interface IObjectClassValidation

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that validate row information.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("7AEE5F1A-A98B-11D2-AADA-00C04FA37B82")]
public interface IObjectClassValidation

Methods

ValidateField(IRow, string)

Validates the row's specified attribute.

string ValidateField(IRow Row, string FieldName)

Parameters

Row IRow
FieldName string

Returns

string

Remarks

The ValidateField method will be called when IValidate::GetInvalidFields is called on an object of the associated object class.

ValidateRow(IRow)

Validates the row.

string ValidateRow(IRow Row)

Parameters

Row IRow

Returns

string

Remarks

The ValidateRow method is called by an Object’s IValidate::Validate and by the Validate methods on the IValidation interface of the associated object class. ValidateRow should be used to validate database or spatial relationships in addition to field values. If the field or row is invalid, an appropriate error string should be returned. Otherwise, return a zero length string.