ArcGIS Pro 2.6 API Reference Guide
ToJson Method (Unit)

ArcGIS.Core.Geometry Namespace > Unit Class : ToJson Method
Gets the JSON representation of the unit in terms of the wkid. A custom unit has wkid = 0.
Syntax
public string ToJson()
Public Function ToJson() As String

Return Value

JSON string
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Unit Class
Unit Members