ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing.COGO Namespace / TraverseManager Class / LoadTraverse Method / LoadTraverse(Traverse,String) Method
The Traverse to load.
The name of the operation added to the undo stack. If not specified, then the "Load traverse" string will be used.
Example

In This Topic
    LoadTraverse(Traverse,String) Method
    In This Topic
    Loads a traverse into the traverse pane and grid. This adds a single item to the undo stack. Specify the name of the operation using the operationName.
    Syntax
    Public Overloads Function LoadTraverse( _
       ByVal traverse As Traverse, _
       ByVal operationName As String _
    ) As Task
    public Task LoadTraverse( 
       Traverse traverse,
       string operationName
    )

    Parameters

    traverse
    The Traverse to load.
    operationName
    The name of the operation added to the undo stack. If not specified, then the "Load traverse" string will be used.
    Exceptions
    ExceptionDescription
    The traverse is null.
    There was an error loading the traverse.
    Example
    Loading a traverse into the Traverse UI
    var isValidTrav = travParcel.IsValid(); //confirm it's a valid traverse
    if (!isValidTrav)
      return;
    
    //Load the traverse into the traverse grid
    await TraverseManager.Current.LoadTraverse(travParcel, "Load my custom traverse");
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also