Edit

Share via


StorageFileHelper.ReadTextFromLocalCacheFileAsync(String) Method

Definition

Gets a string value from a Windows.Storage.StorageFile located in the application local cache folder.

public static System.Threading.Tasks.Task<string> ReadTextFromLocalCacheFileAsync (string fileName);
static member ReadTextFromLocalCacheFileAsync : string -> System.Threading.Tasks.Task<string>
Public Function ReadTextFromLocalCacheFileAsync (fileName As String) As Task(Of String)

Parameters

fileName
String

The relative String file path.

Returns

The stored String value.

Exceptions

Exception thrown if the fileName is null or empty.

Applies to