Skip to content

Commit c1e6f66

Browse files
Update quickstart-save-a-file-with-a-picker.md
In current description, the name of the picked file goes where the contents should be, when writing the file
1 parent 7f2421f commit c1e6f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uwp/files/quickstart-save-a-file-with-a-picker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Use a [**FileSavePicker**](/uwp/api/Windows.Storage.Pickers.FileSavePicker) so t
7474
// we finish making changes and call CompleteUpdatesAsync.
7575
Windows.Storage.CachedFileManager.DeferUpdates(file);
7676
// write to file
77-
await Windows.Storage.FileIO.WriteTextAsync(file, file.Name);
77+
await Windows.Storage.FileIO.WriteTextAsync(file, "file contents");
7878
// Let Windows know that we're finished changing the file so
7979
// the other app can update the remote version of the file.
8080
// Completing updates may require Windows to ask for user input.

0 commit comments

Comments
 (0)