Click or drag to resize
IGDStorageFileMoveAsync Method (IGDStorageFolder, String)
Moves the current file to the specified folder and renames the file according to the desired name.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
IAsyncAction MoveAsync(
	IGDStorageFolder destinationFolder,
	string desiredNewName
)

Parameters

destinationFolder
Type: GDIGDStorageFolder
The destination folder where the file is moved.
desiredNewName
Type: SystemString

The desired name of the file after it is moved.

If there is an existing file in the destination folder that already has the specified desiredNewName, BlackBerry Dynamics generates a unique name for the file.

Return Value

Type: IAsyncAction
No object or value is returned by this method.
Remarks
If you simply want to move a file in your app, see the MoveAsync method of the GDStorageFile class.
See Also