This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IO > IObjectClassValidation Interface > IObjectClassValidation.ValidateField Method (ArcObjects .NET 10.5 SDK) |
Validates the row's specified attribute.
[Visual Basic .NET] Public Function ValidateField ( _ ByVal Row As IRow, _ ByVal FieldName As String _ ) As String
[C#] public string ValidateField ( IRow Row, string FieldName );
[C++]
HRESULT ValidateField(
IRow* Row,
BSTR FieldName,
BSTR* errorMessage
);
[C++]
Parameters Row [in]
Row is a parameter of type IRow FieldName [in] FieldName is a parameter of type BSTR errorMessage [out, retval] errorMessage is a parameter of type BSTR
The ValidateField method will be called when IValidate::GetInvalidFields is called on an object of the associated object class.
IObjectClassValidation Interface | IClassExtension Interface | IClassSchemaEdit Interface | IValidation Interface