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

partIndex
part
Inserts a copy of the coordinate collection as a part at the specific index.

Syntax

Visual Basic (Declaration) 
Public Sub InsertPart( _
   ByVal partIndex As Integer, _
   ByVal part As CoordinateCollection _
) 
C# 
public void InsertPart( 
   int partIndex,
   CoordinateCollection part
)

Parameters

partIndex
part

Exceptions

ExceptionDescription
ArgumentNullExceptionif part is null
ArgumentExceptionif part contains less than 4 coordinates

Remarks

If the coordinates are in clockwise order, the input coordinatecollection will be inserted as a Shell, otherwise as a Hole.

This function closes part the ring if not closed.

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