Starts the synchronization of the specified items. If provided, the remaining parameters control various aspects of the synchronization. Parameters can be specified in any order; if the same parameter is specified more than once, only the last occurence of the parameter value is used. If these parameters are not provided, default values are used. If an unsupported type is encountered, an ArgumentException is thrown. For details on the types of parameters recognized by this method, please see the documentation.
When passed as a parameter to this method, the following types are added to the list of items to synchronize:Xceed.FileSystem.FileSystemItem[] and arrays of FileSystemItem-derived objects such as Xceed.FileSystem.AbstractFile[] and Xceed.FileSystem.AbstractFolder[], FileSystemItem, AbstractFile, AbstractFolder.
Parameters
- parameters
Return Value
A SynchronizationResult value that specifies one or more results from the synchronization. The value is a set of flags. Typically, a value with the SynchronizationResult.ItemsSynchronized bit set indicates success; when the bit is not set, it means that no files were synchronized, indicating some kind of failure.
In success or failure, the other bit values of the SynchronizationResult enumeration give useful information on what did or did not happen during the synchronization.
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Standard: netstandard2.0, netstandard2.1
.NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.