This document is archived and information here might be outdated.  Recommended version.


IObjectClassValidation.ValidateRow Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IO > IObjectClassValidation Interface > IObjectClassValidation.ValidateRow Method
ArcGIS Developer Help

IObjectClassValidation.ValidateRow Method

Validates the row.

[Visual Basic .NET]
Public Function ValidateRow ( _
    ByVal Row As IRow _
) As String
[C#]
public string ValidateRow (
    IRow Row
);
[C++]
HRESULT ValidateRow(
  IRow* Row
);
[C++]
Parameters
Row [in]

Row is a parameter of type IRow*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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.

See Also

IObjectClassValidation Interface | IClassExtension Interface | IClassSchemaEdit Interface | IValidation Interface