IFileStorageHelper.CreateFileAsync<T>(String, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves an object inside a file.
public System.Threading.Tasks.Task CreateFileAsync<T> (string filePath, T value);
abstract member CreateFileAsync : string * 'T -> System.Threading.Tasks.Task
Public Function CreateFileAsync(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.