ArcGIS Pro 2.8 API Reference Guide
GetAvailableCategories Method

ArcGIS.Core.Data.UtilityNetwork Namespace > UtilityNetworkDefinition Class : GetAvailableCategories Method
Gets a list of all of the categories registered to the utility network. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public IReadOnlyList<string> GetAvailableCategories()
Public Function GetAvailableCategories() As IReadOnlyList(Of String)

Return Value

The list of all of the categories registered to the utility network.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

UtilityNetworkDefinition Class
UtilityNetworkDefinition Members