public enum Operator : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum Operator Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum Operator : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum Operator Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
DoesNotIncludeAny | Returns True if performing a bitwise boolean or on the operands returns a zero value. |
DoesNotIncludeTheValues | Returns True if performing a bitwise boolean and on the operands returns a zero value. |
Equal | Returns True if the operands are equal. |
GreaterThan | Returns True if the first operand is greater than the second operand. |
GreaterThanEqual | Returns True if the first operand is greater than or equal to the second operand. |
IncludesAny | Returns True if performing a bitwise boolean or on the operands returns a non-zero value. |
IncludesTheValues | Returns True if performing a bitwise boolean and on the operands returns a non-zero value. |
LessThan | Returns True if the first operand is less than the second operand. |
LessThanEqual | Returns True if the second operand is less than or equal to the second operand. |
NotEqual | Returns True if the operands are not equal. |
// Create a NetworkAttribute object for the Lifecycle network attribute from the UtilityNetworkDefinition using (NetworkAttribute lifecycleNetworkAttribute = utilityNetworkDefinition.GetNetworkAttribute("Lifecycle")) { // Create a NetworkAttributeComparison that stops traversal if Lifecycle <> "In Design" (represented by the constant InDesign) NetworkAttributeComparison inDesignNetworkAttributeComparison = new NetworkAttributeComparison(lifecycleNetworkAttribute, Operator.NotEqual, InDesign); // Create a NetworkAttributeComparison to stop traversal if Lifecycle <> "In Service" (represented by the constant InService) NetworkAttributeComparison inServiceNetworkAttributeComparison = new NetworkAttributeComparison(lifecycleNetworkAttribute, Operator.NotEqual, InService); // Combine these two comparisons together with "And" And lifecycleFilter = new And(inDesignNetworkAttributeComparison, inServiceNetworkAttributeComparison); // Final condition stops traversal if Lifecycle <> "In Design" and Lifecycle <> "In Service" traceConfiguration.Traversability.Barriers = lifecycleFilter; }
System.Object
System.ValueType
System.Enum
ArcGIS.Core.Data.UtilityNetwork.Trace.Operator
Target Platforms: Windows 11, Windows 10