ESRI.ArcGIS.Mobile
Contains Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > GeometricRelationship Class : Contains Method

Returns true if this GeometricRelationship is T*****FF*. Returns true if the first Geometry contains the second.

Syntax

Visual Basic (Declaration) 
Public Function Contains() As Boolean
C# 
public bool Contains()

Remarks

The base geometry contains the comparison geometry (other) if the comparison geometry is a subset of the base geometry and the intersection of their interiors is not empty. Therefore a polygon does not contain any part of its 1D boundary. Contains is the opposite operator of Within.
Contains example. Only "true" relationships are showed in this picture.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also