ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor2.Validate Method

Validate the parameters (input) of a tool within the current Geoprocessing session.

[Visual Basic .NET]
Public Function Validate ( _
    ByVal Name As String, _
    ByVal ipValues As IVariantArray, _
    ByVal bUpdateValues As Boolean _
) As IGPMessages
[C#]
public IGPMessages Validate (
    string Name,
    IVariantArray ipValues,
    bool bUpdateValues
);
[C++]
HRESULT Validate(
  BSTR Name,
  IVariantArray* ipValues,
  VARIANT_BOOL bUpdateValues,
  IGPMessages** ppMessages
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR ipValues [in]

  ipValues is a parameter of type IVariantArray

bUpdateValues [in]   bUpdateValues is a parameter of type VARIANT_BOOL ppMessages [out, retval]

  ppMessages is a parameter of type IGPMessages

Product Availability

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

See Also

IGeoProcessor2 Interface