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


IGPDataType.ValidateValue Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  IGPMessage** Message
);
[C++]

Parameters Value [in]
Value is a parameter of type IGPValue Domain [in]
Domain is a parameter of type IGPDomain Message [out, retval]
Message is a parameter of type IGPMessage

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