Windows Dev Center

IStorageFile.MoveAsync methods

Moves the current file to the specified folder.

Overload list

MethodDescription
MoveAsync(IStorageFolder) Moves the current file to the specified folder.
MoveAsync(IStorageFolder, String) Moves the current file to the specified folder and renames the file according to the desired name.
MoveAsync(IStorageFolder, String, NameCollisionOption) Moves the current file to the specified folder and renames the file according to the desired name. This method also specifies what to do if a file with the same name already exists in the specified folder.

Remarks

If you simply want to move a file in your app, see the MoveAsync methods of the StorageFile class.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

IStorageFile
StorageFile.MoveAsync

 

 

Show:
© 2015 Microsoft