ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / VersioningOptions Class / ShowConflictsDialog Property
Example

In This Topic
    ShowConflictsDialog Property
    In This Topic
    Gets and sets the value indicating if a dialog is displayed to review conflicts.
    Syntax
    Public Property ShowConflictsDialog As Boolean
    public bool ShowConflictsDialog {get; set;}
    Example
    Get and Set Versioning Options
    {
      var vOptions = ApplicationOptions.VersioningOptions;
    
      vOptions.DefineConflicts = (vOptions.DefineConflicts == ConflictDetectionType.ByRow) ?
        ConflictDetectionType.ByColumn : ConflictDetectionType.ByRow;
      vOptions.ConflictResolution = (
        vOptions.ConflictResolution == ConflictResolutionType.FavorEditVersion) ?
          ConflictResolutionType.FavorTargetVersion : ConflictResolutionType.FavorEditVersion;
      vOptions.ShowConflictsDialog = !vOptions.ShowConflictsDialog;
      vOptions.ShowReconcileDialog = !vOptions.ShowReconcileDialog;
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also