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


IBasicGeoprocessor.Merge Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IBasicGeoprocessor.Merge Method

Merges features.

[Visual Basic .NET]
Public Function Merge ( _
    ByVal tables As IArray, _
    ByVal fieldsTable As ITable, _
    ByVal outputName As IFeatureClassName _
) As IFeatureClass
[C#]
public IFeatureClass Merge (
    IArray tables,
    ITable fieldsTable,
    IFeatureClassName outputName
);
[C++]
HRESULT Merge(
  IArray* tables,
  ITable* fieldsTable,
  IFeatureClassName* outputName,
  IFeatureClass** resultFC
);
[C++]

Parameters tables [in]
tables is a parameter of type IArray fieldsTable [in]
fieldsTable is a parameter of type ITable outputName [in]
outputName is a parameter of type IFeatureClassName resultFC [out, retval]
resultFC is a parameter of type IFeatureClass

Product Availability

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

Description

Merge combines layers of the same geometry type into a single feature class.

Remarks

The fieldsTable object refers to the specified input table that defines the fields to be used in the output.

See Also

IBasicGeoprocessor Interface