ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor.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,
  VARIANT_BOOL* Exists
);
[C++]

Parameters

inputValue [in]   inputValue is a parameter of type VARIANT pDataType [in]   pDataType is a parameter of type VARIANT Exists [out, retval]   Exists is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IGeoProcessor Interface