ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / AssetGroup Class / Code Property

Code Property (AssetGroup)
Gets the ID of the AssetGroup. This corresponds to the subtype code.
Syntax
public int Code {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also