ArcObjects Library Reference (Geometry)  

IRelationalOperator2.ContainsEx Method

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

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

Parameters

pOther

  pOther is a parameter of type IGeometry

Relation [in]

  Relation is a parameter of type esriSpatialRelationExEnum

pbContains [out, retval]   pbContains is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IRelationalOperator2 Interface