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,
VARIANT_BOOL* Exists
);
[C++]Parameters
pGPValue [in]pGPValue is a parameter of type IGPValue
Exists [out, retval] Exists is a parameter of type VARIANT_BOOL
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.