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


IGeoProcessor2.Exists Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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

.NET Related Topics

Errors and exception handling in geoprocessing