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


IGPUtilities.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 > IGPUtilities Interface > IGPUtilities.Exists Method
ArcGIS Developer Help

IGPUtilities.Exists Method

Returns whether the object referred to by the given geoprocessing value object exists.

[Visual Basic .NET]
Public Function Exists ( _
    ByVal pGPValue As IGPValue _
) As Boolean
[C#]
public bool Exists (
    IGPValue pGPValue
);
[C++]
HRESULT Exists(
  IGPValue* pGPValue
);
[C++]
Parameters
pGPValue [in]

pGPValue is a parameter of type IGPValue*

Product Availability

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

Remarks

The Exists method checks if a value exists, or has been created. A code sample is included below. For an extended code sample refer to the Execute Method section of the Building Geoprocessing Functions technical document.

See Also

IGPUtilities Interface