ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / TraceConfiguration Class / IncludeUpToFirstSpatialContainer Property

In This Topic
    IncludeUpToFirstSpatialContainer Property
    In This Topic
    Specifies whether the containers returned will be limited to only those encountered up to, and including, the first spatial container for each network element in the trace results. If no spatial containers are encountered but nonspatial containers are present for a given network element, all nonspatial containers will be included in the results. This parameter is only available when IncludeContainers is true.
    Syntax
    public bool IncludeUpToFirstSpatialContainer {get; set;}
    Public Property IncludeUpToFirstSpatialContainer As Boolean
    Remarks
    • True : Only containers encountered up to, and including, the first spatial container will be returned in the results when nested containment associations are encountered along the trace path. If no spatial containers exist, all nonspatial containers will be included in the results for a given network element.
    • False : All containers will be returned in the results. This is the default.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also