ArcGIS Pro 3.0 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, Windows 8.1

    See Also