Xceed .NET Libraries Documentation
ChosenMasterFile Property


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > SynchronizationConflictEventArgs Class : ChosenMasterFile Property
Gets or sets the master file, in relation to Files, to be used to resolve the potential conflict among the files being synchronized.
Syntax
'Declaration
 
Public Property ChosenMasterFile As AbstractFile
'Usage
 
Dim instance As SynchronizationConflictEventArgs

Dim value As AbstractFile

 

instance.ChosenMasterFile = value

 

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

Property Value

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

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

When setting the value, this property is equivalent to searching Files for the specified file and setting ChosenMasterFileIndex 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

SynchronizationConflictEventArgs Class
SynchronizationConflictEventArgs Members