Xceed .NET Libraries Documentation
Xceed.Synchronization Assembly / Xceed.Synchronization Namespace / SynchronizationCompareFileDataEventArgs Class / FilesEqualToMaster Property
Example


In This Topic
    FilesEqualToMaster Property
    In This Topic
    Gets or sets an array of boolean values indicating whether the Files are equal or not to the master file.
    NULL
    Syntax
    'Declaration
     
    
    Public Property FilesEqualToMaster As Boolean()
    'Usage
     
    
    Dim instance As SynchronizationCompareFileDataEventArgs
    Dim value() As Boolean
     
    instance.FilesEqualToMaster = value
     
    value = instance.FilesEqualToMaster
    public bool[] FilesEqualToMaster {get; set;}

    Property Value

    An array of boolean values indicating whether the files are equal or not to the master file.
    Remarks

    The value at each index indicates whether the file at the corresponding index in the Files array is equal to the MasterFile.

    When CompareFileData is triggered, each value of the array is set to a value that corresponds to the current results on the equality of the files.

    If the value in Files at a corresponding index is NULL, it means that the component was able to determine equality without accessing the file data. The value in the array should therefore be considered final as the component will not be carry out further comparison on that file.

    If the value in Files at a corresponding index is not NULL, it means that the component intends to access the file data to determine equality to the master file. The value in the array should then be considered temporary.

    In both cases, event handlers are free to modify the values at any index in the array. For values whose corresponding file will not be further examined by the component, the modification will be used as-is. For values whose corresponding file will be further examined by the component for equality, the modification will be discarded unless the corresponding entry in Files is marked as being final by setting it to NULL. Another way is to set ComponentComparesFiles to false.

    Example
    NULL
    NULL
    NULL
    Example
    NULL
    NULL
    NULL
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Standard: netstandard2.0, netstandard2.1

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also