Xceed .NET Libraries Documentation
Xceed.Synchronization Assembly / Xceed.Synchronization Namespace / SynchronizationOptions Class / PerformRefresh Field


In This Topic
    PerformRefresh Field
    In This Topic
    A boolean value indicating whether the Xceed.FileSystem.FileSystemItem.Refresh method should be called before using an item's dates and attribute in the synchronization.
    Syntax
    'Declaration
     
    Public PerformRefresh As Boolean
    'Usage
     
    Dim instance As SynchronizationOptions
    Dim value As Boolean
     
    value = instance.PerformRefresh
     
    instance.PerformRefresh = value
    public bool PerformRefresh
    Remarks

    There are rare cases where the code that calls the Synchronize method has already performed refresh on the items it's about to synchronize. In these cases, it may be more efficient to prevent the synchronization to perform refresh on the items a second time by setting this field to false.

    The default value of this field is true.

    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