C# Class PhotoSharingApp.Universal.Storage.FilePickerHelper

Helper class which provides default settings for the file picker for opening photos.
Afficher le fichier Open project: Microsoft/Appsample-Photosharing

Méthodes publiques

Méthode Description
CreateFileOpenPickerWithDefaultParams ( ) : FileOpenPicker

Creates the file open picker with default parameters suitable for opening photos.

PickSingleFile ( ) : Task

Shows the file picker to let the user choose a single file.

Method Details

CreateFileOpenPickerWithDefaultParams() public static méthode

Creates the file open picker with default parameters suitable for opening photos.
public static CreateFileOpenPickerWithDefaultParams ( ) : FileOpenPicker
Résultat Windows.Storage.Pickers.FileOpenPicker

PickSingleFile() public static méthode

Shows the file picker to let the user choose a single file.
Thrown when image is too small.
public static PickSingleFile ( ) : Task
Résultat Task