IObjectStorageHelper.SaveFileAsync<T>(String, T) Method

Definition

Saves an object inside a file.

public System.Threading.Tasks.Task<Windows.Storage.StorageFile> SaveFileAsync<T> (string filePath, T value);
abstract member SaveFileAsync : string * 'T -> System.Threading.Tasks.Task<Windows.Storage.StorageFile>
Public Function SaveFileAsync(Of T) (filePath As String, value As T) As Task(Of StorageFile)

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

Task<Windows.Storage.StorageFile>

Waiting task until completion.

Applies to