ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core Namespace / VersioningOptions Class
Members Example

In This Topic
    VersioningOptions Class
    In This Topic
    Gets and sets the application versioning options.
    Syntax
    public class VersioningOptions 
    Public Class VersioningOptions 
    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;
    
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Core.VersioningOptions

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also