public async Task DeleteAsync()
        {
            Values.Clear();
            var storageFile = await FileSystem.Current.LocalStorage.CreateFileAsync(storageFileName, CreationCollisionOption.OpenIfExists).ConfigureAwait(false);

            await storageFile.DeleteAsync().ConfigureAwait(false);
        }
コード例 #2
0
 public async Task DeleteAsync()
 {
     Values.Clear();
     await storageFile.DeleteAsync();
 }