![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IO > IObjectClassValidation Interface > IObjectClassValidation.ValidateRow Method (ArcObjects .NET 10.4 SDK) |
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,
BSTR* errorMessage
);
[C++]
Parameters Row [in]
Row is a parameter of type IRow errorMessage [out, retval] errorMessage is a parameter of type BSTR
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.
IObjectClassValidation Interface | IClassExtension Interface | IClassSchemaEdit Interface | IValidation Interface