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


esriSetOperation Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Constants > E > esriSetOperation Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

esriSetOperation Constants

Set Operations.

Constant Value Description
esriSetUnion 1 The Union of the two sets.
esriSetIntersection 2 The Intersection of the two sets.
esriSetDifference 3 The Difference between the first and the second sets.
esriSetSymDifference 4 The Symmetric Difference between the two sets.

Product Availability

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

Remarks

esriSetUnion

All rows present in the first selection set and all rows in the second are copied to the output selection set. This is a Boolean OR operation

esriSetIntersection

All row IDs present in both input selection sets are copied to the output set. Those row IDs present in only one set are discarded. This is a Boolean AND operation.

esriSetDifference

All rows present in the first selection set but not in the second are copied to the output selection set. This is a Boolean INHIBITION operation.

esriSetSymDifference

All rows present in either of the input selection sets, but not present in both, are copied to the output set. This is a Boolean XOR operation.