This document is archived and information here might be outdated. Recommended version. |
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*
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.