Xceed .NET Libraries Documentation
MasterFile Property (SynchronizationCompareFileDataEventArgs)


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > SynchronizationCompareFileDataEventArgs Class : MasterFile Property
Gets the master file, in relation to Files.
Syntax
'Declaration
 
Public ReadOnly Property MasterFile As AbstractFile
'Usage
 
Dim instance As SynchronizationCompareFileDataEventArgs
Dim value As AbstractFile
 
value = instance.MasterFile
public AbstractFile MasterFile {get;}

Property Value

An Xceed.FileSystem.AbstractFile object taken from Files, representing the master file; a null reference (Nothing in Visual Basic) if there is no master file.
Remarks

When getting the value, this property is equivalent to indexing Files with the value from MasterFileIndex.

In the context of the CompareFileData event, the master file is the one that will be compared to each file in Files.

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