ArcGIS Pro 2.8 API Reference Guide
AddContents Property (DiagramElementQueryByExtent)

ArcGIS.Core.Data.UtilityNetwork.NetworkDiagrams Namespace > DiagramElementQueryByExtent Class : AddContents Property
Indicates whether or not the "searching" envelope must be enlarged to include the extent of any containers that are partially within the specified envelope. False to return the diagram features which strictly intersect the specified envelope(default). True to enlarge the "searching" envelope so it includes the extent of any containers that are partially within the specified envelope.
Syntax
public bool AddContents {get; set;}
Public Property AddContents As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

DiagramElementQueryByExtent Class
DiagramElementQueryByExtent Members