Xceed .NET Libraries Documentation
MasterFile Property (SynchronizationAnalysisEventArgs)


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > SynchronizationAnalysisEventArgs Class : MasterFile Property
Gets or sets the master file, in relation to Files.
Syntax
'Declaration
 
Public Property MasterFile As AbstractFile
'Usage
 
Dim instance As SynchronizationAnalysisEventArgs

Dim value As AbstractFile

 

instance.MasterFile = value

 

value = instance.MasterFile
public AbstractFile MasterFile {get; set;}

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.

When setting the value, this property is equivalent to searching Files for the specified file and setting MasterFileIndex with the resulting index, or a negative value if not found.

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

SynchronizationAnalysisEventArgs Class
SynchronizationAnalysisEventArgs Members