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


IGeoProcessor2.Exists Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.Exists Method
ArcGIS Developer Help

IGeoProcessor2.Exists Method

Test the existence of a given parameter value (GPValue or catalog path) the type of the data is optional.

[Visual Basic .NET]
Public Function Exists ( _
    ByVal inputValue As Object, _
    ByRef pDataType As Object _
) As Boolean
[C#]
public bool Exists (
    object inputValue,
    ref object pDataType
);
[C++]
HRESULT Exists(
  VARIANT inputValue,
  Variant* pDataType
);
[C++]
Parameters
inputValue [in]

inputValue is a parameter of type VARIANT pDataType [in]
pDataType is a parameter of type VARIANT*

Product Availability

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

See Also

IGeoProcessor2 Interface