ESRI.ArcGIS.Mobile
Create Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Geometry Class : Create Method

type
Supported EsriGeometryType.
Creates a new instance of Geometry class of the given geometry type.

Syntax

Visual Basic (Declaration) 
Public Shared Function Create( _
   ByVal type As GeometryType _
) As Geometry
C# 
public static Geometry Create( 
   GeometryType type
)

Parameters

type
Supported EsriGeometryType.

Exceptions

ExceptionDescription
InvalidOperationExceptionUnsupported geometry type.

Remarks

Only Point, Multipoint, Polyline, and Polygon are supported by this method.

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