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


IObjectClassValidation.ValidateField 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.ValidateField Method
ArcGIS Developer Help

IObjectClassValidation.ValidateField Method

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
);
[C++]
Parameters
Row [in]

Row is a parameter of type IRow* FieldName [in]
FieldName is a parameter of type BSTR

Product Availability

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

Remarks

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

See Also

IObjectClassValidation Interface | IClassExtension Interface | IClassSchemaEdit Interface | IValidation Interface