Parameters
- geometry1
- The base geometry.
- geometry2
- The comparison geometry.
Return Value
Returns true if geometry1 occupies the same space as geometry2.
| Exception | Description |
|---|---|
| System.ArgumentNullException | Either geometry1 or geometry2 or both are null. |
| System.NotImplementedException | The method is not implemented for GeometryBag. |
| System.InvalidOperationException | Incompatible spatial references between the input geometries. |
If the input geometries are multipatches, then the footprints are compared for equality.

Target Platforms: Windows 11, Windows 10