Call file from another method
问题 Newbie question here. I have this file picker: public async void PickImage() { FileOpenPicker ImagePicker = new FileOpenPicker(); ... StorageFile file = await ImagePicker.PickSingleFileAsync(); // ... } And I want to use the file set by this image picker in another method. Something like this: private async void CreateButton_Click(object sender, RoutedEventArgs e) { ... the one from PickImage() v StorageFile copyImage = await file.CopyAsync(DateTimeFolder, "image", NameCollisionOption