This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRelationalOperator2 Interface > IRelationalOperator2.ContainsEx Method (ArcObjects .NET 10.4 SDK) |
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