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

ISpatialFilter.GeometryEx Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISpatialFilter Interface > ISpatialFilter.GeometryEx Property
ArcGIS Developer Help

ISpatialFilter.GeometryEx Property

The query geometry used to filter results.

[Visual Basic .NET]
Public Sub set_GeometryEx ( _
    ByVal Geometry As IGeometry, _
    ByVal A_2 As Boolean _
public void set_GeometryEx (
    IGeometry Geometry,
    bool A_2
HRESULT putref_GeometryEx(
  IGeometry* Geometry,
Geometry [in]

Geometry is a parameter of type IGeometry* [in]
is a parameter of type bool

Product Availability

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


Only high-level geometries, envelopes and geometry bags can be used. High-level geometries are polygons, polylines, points, and multipoints. Low-level geometries including paths, rings, arcs and curves, and lines can not be used. To test whether a geometry is applicable, see if it implements the IRelationalOperator interface; if it does, it can be used.


The boolean parameter represents the FilterOwnsGeometry property.

See Also

ISpatialFilter Interface