ArcGIS Pro 2.7 API Reference Guide
UnitCode Property

ArcGIS.Desktop.Core.UnitFormats Namespace > DisplayUnitFormat Class : UnitCode Property
Gets the factory code of the unit format
Syntax
public int UnitCode {get;}
Public ReadOnly Property UnitCode As Integer
Remarks
Corresponds to the underlying unit of measure. Different DisplayUnitFormats can have the same underlying unit of measure.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

DisplayUnitFormat Class
DisplayUnitFormat Members