ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / UtilityNetworkDefinition Class / GetAvailableCategories Method

In This Topic
    GetAvailableCategories Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also