This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPDataType Interface > IGPDataType.ValidateValue Method (ArcObjects .NET 10.5 SDK) |
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
The ValidateValue method is used to determine if a Value object is compatible with a DataType.