ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / CategoryOperator Enumeration
Example Example

In This Topic
    CategoryOperator Enumeration
    In This Topic
    The operators that can be used in CategoryComparison comparisons.
    Syntax
    Members
    MemberDescription
    IsEqualReturns True if the ArcGIS.Core.Data.UtilityNetwork.AssetType of the row is assigned the specified Category.
    IsNotEqualReturns True if the ArcGIS.Core.Data.UtilityNetwork.AssetType of the row is not assigned the specified Category.
    Example
    Create an output condition
    // Create an output category to filter the trace results to only include
    // features with the "Service Point" category assigned
    traceConfiguration.OutputCondition = new CategoryComparison(CategoryOperator.IsEqual, "Service Point");
    
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ArcGIS.Core.Data.UtilityNetwork.Trace.CategoryOperator

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also