FileUpdateRequest.UpdateLocalFile(IStorageFile) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provide a new version of the local file to represent the remote file.
public:
virtual void UpdateLocalFile(IStorageFile ^ value) = UpdateLocalFile;
void UpdateLocalFile(IStorageFile const& value);
public void UpdateLocalFile(IStorageFile value);
function updateLocalFile(value)
Public Sub UpdateLocalFile (value As IStorageFile)
Parameters
- value
- IStorageFile
The new version of the local file that will represent remote file.
This file can be different from the original local file that was associated with the FileUpdateRequest.ContentId.
Remarks
Use this method to associate a new version of the local file with the existing ContentId. You need to use this method whenever you create a new version of the local file. For example, you would call this method if you used ReplaceWithStreamedFileAsync or ReplaceWithStreamedFileFromUriAsync to download the latest version of the file, or if the remote version of the file was renamed.