How to save existing StorageFile using FileSavePicker?

后端 未结 2 1050
执笔经年
执笔经年 2021-01-03 15:53

I\'m trying to save existing file to another place. It\'s some kind of copy, but I want to allow choosing of new destination to user with FileSavePicker. Here is my code:

2条回答
  •  天涯浪人
    2021-01-03 16:11

    You should use FolderPicker see this http://lunarfrog.com/blog/2011/10/07/winrt-file-and-folder-pickers/ and then use CopyAsync() or MoveAsync() methods of StorageFile.

提交回复
热议问题