ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / FunctionOutput Class
Members Example

In This Topic
    FunctionOutput Class
    In This Topic
    The result of a Function that is executed by a trace.
    Object Model
    FunctionOutput ClassFunction Class
    Syntax
    public class FunctionOutput 
    Public Class FunctionOutput 
    Example
    Using Function Results
    // Get the FunctionOutputResult from the trace results
    FunctionOutputResult functionOutputResult = traceResults.OfType<FunctionOutputResult>().First();
    
    // First() can be used here if only one Function was included in the TraceConfiguration.Functions collection.
    // Otherwise you will have to search the list for the correct FunctionOutput object.
    FunctionOutput functionOutput = functionOutputResult.FunctionOutputs.First();
    
    // Extract the total load from the GlobalValue property
    double totalLoad = (double)functionOutput.Value;
    
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Data.UtilityNetwork.Trace.FunctionOutput

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also