ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / VersioningOptions Class / DefineConflicts Property
Example

In This Topic
    DefineConflicts Property
    In This Topic
    Gets and sets the value defining how conflicts are flagged.
    Syntax
    public ConflictDetectionType DefineConflicts {get; set;}
    Public Property DefineConflicts As ConflictDetectionType
    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, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also