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


In This Topic
    FilesToCompare Property
    In This Topic
    Gets the files that are to be compared to the master file.
    NULL
    Syntax
    'Declaration
     
    
    Public ReadOnly Property FilesToCompare As AbstractFile()
    'Usage
     
    
    Dim instance As SynchronizationCompareFileDataEventArgs
    Dim value() As AbstractFile
     
    value = instance.FilesToCompare
    public AbstractFile[] FilesToCompare {get;}

    Property Value

    An array of Xceed.FileSystem.AbstractFile objects representing the files to be compared to the master file.
    Remarks

    Some entries in the array may be NULL. When this happens, it means that the component was able to determine the file's equality with the master without accessing the file data. The entry is then set to NULL to indicate that no further examination will be made.

    Event handlers are free to set the value at any index in the array to NULL. If this is done, the current value at the corresponding index in FilesEqualToMaster will be used as-is.

    Since the master file is usually found in the array, that entry will always have a NULL value, as it is obviously equal to itself.

    Modifications other than setting a value to NULL or back to the original Xceed.FileSystem.AbstractFile object are not supported and will be ignored.

    Example
    NULL
    NULL
    NULL
    NULL
    NULL
    Example
    NULL
    NULL
    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