ArcGIS Pro 2.8 API Reference Guide
CategoryComparison Class
Members 

ArcGIS.Core.Data.UtilityNetwork.Trace Namespace : CategoryComparison Class
The CategoryComparison conditional expression performs a comparison that checks to see if a Category is assigned to the ArcGIS.Core.Data.UtilityNetwork.AssetType of the current row
Syntax
public sealed class CategoryComparison : ConditionalExpression 
Public NotInheritable Class CategoryComparison 
   Inherits ConditionalExpression
Remarks
For example, you could create a CategoryComparison object that checks to see if a row is assigned the Valve category.
Inheritance Hierarchy

System.Object
   ArcGIS.Core.Data.UtilityNetwork.Trace.Condition
      ArcGIS.Core.Data.UtilityNetwork.Trace.ConditionalExpression
         ArcGIS.Core.Data.UtilityNetwork.Trace.CategoryComparison

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CategoryComparison Members
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace