ArcGIS Pro 2.8 API Reference Guide
Extend(NetworkDiagramExtendType) Method

ArcGIS.Core.Data.UtilityNetwork.NetworkDiagrams Namespace > NetworkDiagram Class > Extend Method : Extend(NetworkDiagramExtendType) Method
The NetworkDiagramExtendType used to extend the diagram.
Extends this network diagram. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Extend( 
   NetworkDiagramExtendType extendType
)
Public Overloads Sub Extend( _
   ByVal extendType As NetworkDiagramExtendType _
) 

Parameters

extendType
The NetworkDiagramExtendType used to extend the diagram.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
This routine generates its own editing transaction, and therefore cannot be wrapped in a separate transaction. Because the editing performed by this routine cannot be undone, this routine can also not be called within an editing session. All edits in the current edit session must be saved or discarded before calling this routine.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

NetworkDiagram Class
NetworkDiagram Members
Overload List