Xceed .NET Libraries Documentation
FilesEqualToMaster Property


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > SynchronizationCompareFileDataEventArgs Class : FilesEqualToMaster Property
Gets or sets an array of boolean values indicating whether the Files are equal or not to the master file.
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 a null reference (Nothing in Visual Basic), 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 a null reference (Nothing in Visual Basic), 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 a null reference (Nothing in Visual Basic). Another way is to set ComponentComparesFiles to false.

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