Returns a string containing basic information about the Polyline.

Namespace:  ESRI.ArcGISExplorer.Geometry

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

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

Return Value

A string containing basic information about the Polyline.

Remarks

This override of Object.ToString returns a string containing the number of paths and points in the Polyline. If this Polyline 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 Polyline; all the information in the returned value can also be retrieved using other properties and methods on Polyline.

See Also