OpenFilePickerResult Struct
Definition
Represents the result of the Avalonia.Platform.Storage.IStorageProvider.OpenFilePickerWithResultAsync(Avalonia.Platform.Storage.FilePickerOpenOptions) operation.
public struct OpenFilePickerResult
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Platform.Storage.OpenFilePickerResult other)
Parameters
other Avalonia.Platform.Storage.OpenFilePickerResult
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| Files | Gets the list of files selected by the user, or empty if the user canceled the dialog. |
| SelectedFileType | Gets the file type selected by the user, or null if the platform does not support this feature. |
Files Property
Gets the list of files selected by the user, or empty if the user canceled the dialog.
public System.Collections.Generic.IReadOnlyList<Avalonia.Platform.Storage.IStorageFile> Files { get; set; }
SelectedFileType Property
Gets the file type selected by the user, or null if the platform does not support this feature.
public Avalonia.Platform.Storage.FilePickerFileType SelectedFileType { get; set; }