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


IGeoProcessorSettings.OverwriteOutput Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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

.NET Related Topics

Building a custom geoprocessing function tool