This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.Exists Method (ArcObjects .NET 10.5 SDK) |
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