Xceed .NET Libraries Documentation
FilesToCompare Property


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > SynchronizationCompareFileDataEventArgs Class : FilesToCompare Property
Gets the files that are to be compared to the master file.
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 a null reference (Nothing in Visual Basic). 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 a null reference (Nothing in Visual Basic) to indicate that no further examination will be made.

Event handlers are free to set the value at any index in the array to a null reference (Nothing in Visual Basic). 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 a null reference (Nothing in Visual Basic) value, as it is obviously equal to itself.

Modifications other than setting a value to a null reference (Nothing in Visual Basic) or back to the original Xceed.FileSystem.AbstractFile object are not supported and will be ignored.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SynchronizationCompareFileDataEventArgs Class
SynchronizationCompareFileDataEventArgs Members