ArcObjects Library Reference (GeoDatabase)  

IObjectClassValidation.ValidateRow Method

Validates the row.

[Visual Basic .NET]
Public Function ValidateRow ( _
    ByVal Row As IRow _
) As String
public string ValidateRow (
    IRow Row
HRESULT ValidateRow(
  IRow* Row,
  BSTR* errorMessage


Row [in]

  Row is a parameter of type IRow

errorMessage [out, retval]   errorMessage is a parameter of type BSTR

Product Availability

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


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