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


IGeoProcessorSettings.OverwriteOutput Property (ArcObjects .NET 10.4 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(
  VARIANT_BOOL OverwriteOutput
);
[C++]

Parameters OverwriteOutput [out, retval] OverwriteOutput is a parameter of type VARIANT_BOOL OverwriteOutput [in] OverwriteOutput is a parameter of type VARIANT_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