ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / ApplicationOptions Class / VersioningOptions Property
Example

In This Topic
    VersioningOptions Property
    In This Topic
    Gets the application versioning options.
    Syntax
    public static VersioningOptions VersioningOptions {get;}
    Public Shared ReadOnly Property VersioningOptions As 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;
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also