ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.Delete Method

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

Product Availability

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

Remarks

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.

See Also

IGPUtilities Interface