You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/apps/develop/files/create-read-write-files.md
+1-126Lines changed: 1 addition & 126 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Read and write a file using a [StorageFile](/uwp/api/windows.storage.storagefile
29
29
30
30
-**Understand async programming for WinUI apps**
31
31
32
-
You can learn how to write asynchronous apps in C# or Visual Basic, see [Call asynchronous APIs in C# or Visual Basic](/windows/uwp/threading-async/call-asynchronous-apis-in-csharp-or-visual-basic). To learn how to write asynchronous apps in C++/WinRT, see [Concurrency and asynchronous operations with C++/WinRT](/windows/uwp/cpp-and-winrt-apis/concurrency). To learn how to write asynchronous apps in C++/CX, see [Asynchronous programming in C++/CX](/windows/uwp/threading-async/asynchronous-programming-in-cpp-universal-windows-platform-apps).
32
+
You can learn how to write asynchronous apps in C# or Visual Basic, see [Call asynchronous APIs in C# or Visual Basic](/windows/uwp/threading-async/call-asynchronous-apis-in-csharp-or-visual-basic). To learn how to write asynchronous apps in C++/WinRT, see [Concurrency and asynchronous operations with C++/WinRT](/windows/uwp/cpp-and-winrt-apis/concurrency).
33
33
34
34
-**Know how to get the file that you want to read from, write to, or both**
When [GetFileFromApplicationUriAsync](/uwp/api/windows.storage.storagefile.getfilefromapplicationuriasync) completes, itreturnsa [StorageFile](/uwp/api/Windows.Storage.StorageFile) thatrepresentsthe `file.txt` fileintheapp's install directory (`file` in the example).
86
76
@@ -115,10 +105,6 @@ There are two primary ways to access files and folders from your app's data loca
Ifyouwanttoaccessyourapp's roaming or temporary folder, use the [RoamingFolder](/uwp/api/windows.storage.applicationdata.roamingfolder) or [TemporaryFolder](/uwp/api/windows.storage.applicationdata.temporaryfolder) property instead.
124
110
@@ -146,14 +132,6 @@ There are two primary ways to access files and folders from your app's data loca
When [GetFileFromApplicationUriAsync](/uwp/api/windows.storage.storagefile.getfilefromapplicationuriasync) completes, itreturnsa [StorageFile](/uwp/api/Windows.Storage.StorageFile) thatrepresentsthe `file.txt` fileintheapp's local folder (`file` in the example).
159
137
@@ -200,14 +178,6 @@ By default, your app can only access files and folders in the user's Downloads f
0 commit comments