ESRI.ArcGIS.Mobile
Validate Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Polyline 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

Returns false if not a valid polyline, otherwise it returns true.

Remarks

This function removes duplicated points and empty parts. A valid polyline has at least one part, and each part has at least 2 vertexes.

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