This document is archived and information here might be outdated.  Recommended version.


IGeoProcessorSettings.OverwriteOutput Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessorSettings Interface > IGeoProcessorSettings.OverwriteOutput Property
ArcGIS Developer Help

IGeoProcessorSettings.OverwriteOutput Property

Indicates whether output datasets should be overwritten when executing geoprocessing tools.

[Visual Basic .NET]
Public Property OverwriteOutput As Boolean
[C#]
public bool OverwriteOutput {get; set;}
[C++]
HRESULT get_OverwriteOutput(
  VARIANT_BOOL OverwriteOutput
);
[C++]
HRESULT put_OverwriteOutput(
  Boolean* OverwriteOutput
);
[C++]
Parameters
OverwriteOutput [in]

OverwriteOutput is a parameter of type bool OverwriteOutput [out, retval]
OverwriteOutput is a parameter of type bool*

Product Availability

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

Remarks

The OutputOverwrite property determines if output created by a function execution will be overwritten by subsequent function executions. A code sample to check the OutputOverwrite setting is included below.

See Also

IGeoProcessorSettings Interface