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


IField.CheckValue Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IField Interface > IField.CheckValue Method
ArcGIS Developer Help

IField.CheckValue Method

Indicates if the value is valid given the field definition.

[Visual Basic .NET]
Public Function CheckValue ( _
    ByVal Value As Object _
) As Boolean
[C#]
public bool CheckValue (
    object Value
);
[C++]
HRESULT CheckValue(
  VARIANT Value
);
[C++]
Parameters
Value [in]

Value is a parameter of type VARIANT

Product Availability

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

Description

CheckValue tests whether the specified value is valid for the current field, based upon the field type.  For example, CheckValue will verify if the supplied value corresponds to field type of Small Integer or if the value corresponds to a string value.

The value is not checked against any existing domain.

See Also

IField Interface