This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPFunction Interface > IGPFunction.Validate Method (ArcObjects .NET 10.5 SDK) |
Validates the given array of parameter values.
[Visual Basic .NET] Public Function Validate ( _ ByVal paramvalues As IArray, _ ByVal updateValues As Boolean, _ ByVal envMgr As IGPEnvironmentManager _ ) As IGPMessages
[C#] public IGPMessages Validate ( IArray paramvalues, bool updateValues, IGPEnvironmentManager envMgr );
[C++]
HRESULT Validate(
IArray* paramvalues,
VARIANT_BOOL updateValues,
IGPEnvironmentManager* envMgr,
IGPMessages** message
);
[C++]
Parameters paramvalues [in]
paramvalues is a parameter of type IArray updateValues [in] updateValues is a parameter of type VARIANT_BOOL envMgr [in]
envMgr is a parameter of type IGPEnvironmentManager message [out, retval]
message is a parameter of type IGPMessages
The Validate method checks that a function tool's set of parameter values are of the expected number, data type, and value.