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


IGPFunction.Validate Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPFunction.Validate Method

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
);
[C++]

Parameters paramvalues [in]
paramvalues is a parameter of type IArray* updateValues [in]
updateValues is a parameter of type bool envMgr [in]
envMgr is a parameter of type IGPEnvironmentManager*

Product Availability

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

Remarks

The Validate method checks that a function tool's set of parameter values are of the expected number, data type, and value.

See Also

IGPFunction Interface