Returns whether the object referred to by the given geoprocessing value object exists.
[Visual Basic 6.0] Function Exists(
ByVal pGPValue As IGPValue _
) As Boolean
[Visual Basic .NET] Public Function Exists ( _ ByVal pGPValue As IGPValue _ ) As Boolean
[C#] public bool Exists ( IGPValue pGPValue );
[Java] public Boolean exists ( IGPValue pGPValue ) throws IOException, AutomationException
[C++] HRESULT Exists( IGPValue* pGPValue, VARIANT_BOOL* Exists );
Parameters
pGPValue [in]
pGPValue is a parameter of type IGPValue
Exists [out, retval]
Exists is a parameter of type VARIANT_BOOL
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.