Geometry: The geometry to apply to the spatial filter. The spatial relationship as specified by spatialRelationship is applied to this geometry while performing the query. The valid geometry types are Envelope, Point, Multipoint, Polyline, or Polygon.
resultLayer.Geometry = filterGeometry; oResultLayer.Update();
oResultLayer.SpatialRelationship = SpatialRelationship.esriSpatialRelContains
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.