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


IRelationalOperator2.WithinEx Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IRelationalOperator2.WithinEx Method

Indicates if this geometry contains the other geometry, optionally using Celementini's definition.

[Visual Basic .NET]
Public Function WithinEx ( _
    ByVal pOther As IGeometry, _
    ByVal Relation As esriSpatialRelationExEnum _
) As Boolean
[C#]
public bool WithinEx (
    IGeometry pOther,
    esriSpatialRelationExEnum Relation
);
[C++]
HRESULT WithinEx(
  IGeometry* pOther,
  esriSpatialRelationExEnum Relation,
  VARIANT_BOOL* pbWithin
);
[C++]

Parameters pOther
pOther is a parameter of type IGeometry Relation [in]
Relation is a parameter of type esriSpatialRelationExEnum pbWithin [out, retval] pbWithin is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IRelationalOperator2 Interface