This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessorSettings Interface > IGeoProcessorSettings.OverwriteOutput Property (ArcObjects .NET 10.4 SDK) |
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
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.