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

shell
Adds a new shell to the polygon.

Syntax

Visual Basic (Declaration) 
Public Sub AddShell( _
   ByVal shell As CoordinateCollection _
) 
C# 
public void AddShell( 
   CoordinateCollection shell
)

Parameters

shell

Exceptions

ExceptionDescription
ArgumentNullExceptionNull coordinate collection for the shell.

Remarks

if the parameter shell is not a shell (a closed clockwise ring), this function makes it a shell by reversing coordinate order and/or add the first coordinate to the end if need.

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