Gets the type of the geometry, indicating the underlying class.
Namespace:
ESRI.ArcGISExplorer.GeometryAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public virtual GeometryType GeometryType { get; } |
Visual Basic (Declaration) |
---|
Public Overridable ReadOnly Property GeometryType As GeometryType |
Field Value
The type of the geometry.Remarks
The Geometry class is not instantiable, but is a superclass for all classes representing different types of geometrical shapes in ArcGIS Explorer; Point, Multipoint, Polygon, Polyline, Envelope, and Multipatch. You can use the GeometryType property to work out the underlying class for any geometry reference without needing to cast to each type in turn.