ArcObjects Library Reference (GeoDatabase)  

ISpatialFilter.SpatialRel Property

The spatial relationship checked by the filter.

[Visual Basic .NET]
Public Property SpatialRel As esriSpatialRelEnum
[C#]
public esriSpatialRelEnum SpatialRel {get; set;}
[C++]
HRESULT get_SpatialRel(
  esriSpatialRelEnum* SpatialRel
);
[C++]
HRESULT put_SpatialRel(
  esriSpatialRelEnum SpatialRel
);
[C++]

Parameters

SpatialRel [out, retval]

  SpatialRel is a parameter of type esriSpatialRelEnum

SpatialRel [in]

  SpatialRel is a parameter of type esriSpatialRelEnum

Product Availability

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

See Also

ISpatialFilter Interface

.NET Snippets

Perform Spatial Query | Get First Feature from Point Search in GeoFeatureLayer |

.NET Samples

Editing using a custom form (Code Files: EditorForm) | Find near features REST SOE (Code Files: FindNearFeaturesRestSOE_VBNet) | Find near features SOAP SOE (Code Files: FindNearFeaturesSoapSOE_VBNet) | ViperPin tool (Code Files: ViperPinForm) |

.NET Related Topics

Executing spatial queries | How to download images from an image service | How to query an image service | Map services | SOAP Web services | Utility COM objects |