| Visual Basic (Declaration) | |
|---|---|
| Public Enum SpatialRelationship Inherits System.Enum | |
| C# | |
|---|---|
| public enum SpatialRelationship : System.Enum | |
| Member | Description | 
|---|---|
| esriSpatialRelContains | Part or all of a feature from feature class 1 is contained within a feature from feature class 2. | 
| esriSpatialRelCrosses | The feature from feature class 1 crosses a feature from feature class 2. | 
| esriSpatialRelEnvelopeIntersects | The envelope of feature class 1 intersects with the envelope of feature class 2. | 
| esriSpatialRelIndexIntersects | The envelope of the query feature class intersects the index entry for the target feature class. | 
| esriSpatialRelIntersects | Part of a feature from feature class 1 is contained in a feature from feature class 2. | 
| esriSpatialRelOverlaps | Features from feature class 1 overlap features in feature class 2. | 
| esriSpatialRelRelation | Indicates that a spatial relationship function will be used. | 
| esriSpatialRelTouches | The feature from feature class 1 touches the border of a feature from feature class 2. | 
| esriSpatialRelWithin | The feature from feature class 1 is completely enclosed by the feature from feature class 2. | 
System.Object
   System.ValueType
      System.Enum
         ESRI.ArcGIS.Client.Tasks.SpatialRelationship
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8
 
     
     
     
     
    