ArcGIS Pro 2.6 API Reference Guide
QueryDiagramElements(DiagramElementQueryByElementTypes) Method

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

Parameters

query
The DiagramElementQueryByElementTypes 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