StorageFile.MoveAndReplaceAsync(IStorageFile) StorageFile.MoveAndReplaceAsync(IStorageFile) StorageFile.MoveAndReplaceAsync(IStorageFile) StorageFile.MoveAndReplaceAsync(IStorageFile) StorageFile.MoveAndReplaceAsync(IStorageFile) Method

Definition

Moves the current file to the location of the specified file and replaces the specified file in that location.

public : IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace)
IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace) const;
public IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace)
Public Function MoveAndReplaceAsync(fileToReplace As IStorageFile) As IAsyncAction
Windows.Storage.StorageFile.moveAndReplaceAsync(fileToReplace).done( /* Your success and error handlers */ );

Parameters

fileToReplace
IStorageFile IStorageFile IStorageFile

The file to replace.

Returns

No object or value is returned by this method.