This document is archived and information here might be outdated. Recommended version. |
Deletes the object referred to by the given geoprocessing value object.
[Visual Basic .NET] Public Sub Delete ( _ ByVal pGPValue As IGPValue _ )
[C#] public void Delete ( IGPValue pGPValue );
[C++]
HRESULT Delete(
IGPValue* pGPValue
);
[C++] Parameters pGPValue [in]
pGPValue is a parameter of type IGPValue*
The Delete method is typically used in combination with the Exists method to first check existence of a value such as in the case of checking if the OverwriteOutput setting is true or false. A code sample is included below. For an extended code sample refer to the Execute Method section of the Building Geoprocessing Functions technical document.