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,
  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

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