ArcGIS Pro 2.7 API Reference Guide
Code Property (AssetGroup)

ArcGIS.Core.Data.UtilityNetwork Namespace > AssetGroup Class : Code Property
Gets the ID of the AssetGroup. This corresponds to the subtype code.
Syntax
public int Code {get;}
Public ReadOnly Property Code As Integer
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

AssetGroup Class
AssetGroup Members