Edit

Share via


ApplicationDataStorageHelper.CreateCacheFileAsync<T>(String, T) Method

Definition

Saves an object inside a file in the LocalCacheFolder.

public System.Threading.Tasks.Task CreateCacheFileAsync<T> (string filePath, T value);
member this.CreateCacheFileAsync : string * 'T -> System.Threading.Tasks.Task
Public Function CreateCacheFileAsync(Of T) (filePath As String, value As T) As Task

Type Parameters

T

Type of object saved.

Parameters

filePath
String

Path to the file that will contain the object.

value
T

Object to save.

Returns

Waiting task until completion.

Applies to