ESRI.ArcGIS.Mobile
Validate Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Polygon Class : Validate Method

Indicates if the geometry is safe to be saved.

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Function Validate() As Boolean
C# 
public override bool Validate()

Return Value

false

if count of parts <1,

or number of coordinates in any part <3,

or count of shells <1.

truevalid

Remarks

This function makes sure that all parts have a valid shell (a closed clockwise ring), and removes duplicated points and empty parts.

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