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


IGPDataType.ValidateValue Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPDataType Interface > IGPDataType.ValidateValue Method
ArcGIS Developer Help

IGPDataType.ValidateValue Method

Validates if a given geoprocessing value object is the correct data type.

[Visual Basic .NET]
Public Function ValidateValue ( _
    ByVal Value As IGPValue, _
    ByVal Domain As IGPDomain _
) As IGPMessage
[C#]
public IGPMessage ValidateValue (
    IGPValue Value,
    IGPDomain Domain
);
[C++]
HRESULT ValidateValue(
  IGPValue* Value,
  IGPDomain* Domain
);
[C++]
Parameters
Value [in]

Value is a parameter of type IGPValue* Domain [in]
Domain is a parameter of type IGPDomain*

Product Availability

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

Remarks

The ValidateValue method is used to determine if a Value object is compatible with a DataType.

See Also

IGPDataType Interface