Update Method

Will update certain files in an archive.

Syntax

public void Update(string filenames);
Public Sub Update(ByVal Filenames As String)

Remarks

When this method is called, the component will attempt to update files in the specified archive with the current files listed in the files collection. You may use the Filenames parameter to tell the component which files in the collection/archive must be updated.

Filenames may be set to one or more filenames or directory names. Files may be specified with or without a path, and with or without wildcards. If a path is specified, files in the indicated directory will be affected; subdirectories will be recursed into if RecurseSubdirectories is true. If no path is specified but wildcards are, matching files in all directories will be affected. If a single filename without a path is specified, it must correspond exactly to the appropriate value of CompressedName.

Directories should end with a slash ("/"). If a directory is specified, all files and subdirectories in the specified directory will be affected.

A pipe character ("|") should be used to separate multiple file or directory names. Alternatively, the method may be invoked repeatedly.

.NET Standard Notes

To call this method in an asynchronous manner call UpdateAsync instead. When the method completes (or an error is encountered) the UpdateCompleted event will fire.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 .NET Edition - Version 20.0 [Build 7720]