ArcObjects Library Reference (Geometry)  

IRelationalOperatorNxM.Within Method

Indicates if this geometry is contained (is within) another geometry.

[Visual Basic .NET]
Public Function Within ( _
    ByVal other As IGeometryBag _
) As IRelationResult
[C#]
public IRelationResult Within (
    IGeometryBag other
);
[C++]
HRESULT Within(
  IGeometryBag* other,
  IRelationResult** result
);
[C++]

Parameters

other

  other is a parameter of type IGeometryBag

result [out, retval]

  result is a parameter of type IRelationResult

Product Availability

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

See Also

IRelationalOperatorNxM Interface