Returns a string containing basic information about the Polygon.

Namespace:  ESRI.ArcGISExplorer.Geometry
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public override string ToString()
Visual Basic (Declaration)
Public Overrides Function ToString As String

Return Value

A string containing basic information about the Polygon.

Remarks

This override of Object.ToString returns a string containing the number of rings and points in the Polygon. If this Polygon is an object which does not have any spatial location set (IsEmpty is trueTruetruetrue (True in Visual Basic)), then the returned string will specifically indicate that the shape is empty.

This method is useful while debugging for quickly checking on the status or location of a specific Polygon; all the information in the returned value can also be retrieved using other properties and methods on Polygon.

See Also

Relate Topics:
  AddPoint Method
  AddPoints Method
  AddRing Method
  Clone Method
  Close Method
  CreateFromXmlString Method
  GetLabelPoint Method
  GetPerimeter Method
  GetPoint Method
  GetRing Method
  GetRings Method
  GetXmlSchema Method
  InsertPoint Method
  InsertPoints Method
  InsertRing Method
  PointCount Method
  PointCountAllRings Method
  RemoveAllPoints Method
  RemovePointAt Method
  RemovePointsAt Method
  RemoveRing Method
  SetPoint Method
  SetPoints Method
  SetRing Method
Created by Atop CHM to web converter,© 2009 all right reserved.