This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.Exists Method (ArcObjects .NET 10.4 SDK) |
Checks if a data element exists.
[Visual Basic .NET] Public Function Exists ( _ ByRef pInputValue As Object, _ [ByRef DataType As Object] _ ) As Boolean
[C#] public bool Exists ( ref object pInputValue, ref object DataType );
Optional Values
[C++]
HRESULT Exists(
VARIANT* pInputValue,
VARIANT* DataType,
VARIANT_BOOL* Exists
);
[C++]
Parameters pInputValue [in] pInputValue is a parameter of type VARIANT DataType [optional] DataType is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. Exists [out, retval] Exists is a parameter of type VARIANT_BOOL