ArcGIS Pro 2.6 API Reference Guide
QueryDiagramElements(DiagramElementQueryByExtent) Method

ArcGIS.Core.Data.UtilityNetwork.NetworkDiagrams Namespace > NetworkDiagram Class > QueryDiagramElements Method : QueryDiagramElements(DiagramElementQueryByExtent) Method
The DiagramElementQueryByExtent used to search for diagram elements.
Query diagram elements contained in this network diagram.
Syntax
Public Overloads Function QueryDiagramElements( _
   ByVal query As DiagramElementQueryByExtent _
) As DiagramElementQueryResult

Parameters

query
The DiagramElementQueryByExtent used to search for diagram elements.

Return Value

A DiagramElementQueryResult containing the queried diagram elements.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

NetworkDiagram Class
NetworkDiagram Members
Overload List