FilePickerFileType Class
Definition
Represents a name mapped to the associated file types (extensions).
public class FilePickerFileType
Constructors
| Name | Description |
|---|---|
| FilePickerFileType | Represents a name mapped to the associated file types (extensions). |
FilePickerFileType Constructor
Represents a name mapped to the associated file types (extensions).
public FilePickerFileType(string name)
Parameters
name string
Methods
| Name | Description |
|---|---|
| ToString | No summary available. |
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| AppleUniformTypeIdentifiers | List of extensions in Apple uniform format. |
| MimeTypes | List of extensions in MIME format. |
| Name | File type name. |
| Patterns | List of extensions in GLOB format. I.e. ".png" or ".*". |
AppleUniformTypeIdentifiers Property
List of extensions in Apple uniform format.
public System.Collections.Generic.IReadOnlyList<string> AppleUniformTypeIdentifiers { get; set; }
Remarks
Used only on Apple devices. See https://developer.apple.com/documentation/uniformtypeidentifiers/system_declared_uniform_type_identifiers.
MimeTypes Property
List of extensions in MIME format.
public System.Collections.Generic.IReadOnlyList<string> MimeTypes { get; set; }
Remarks
Used on Android, Linux and Browser platforms.
Name Property
File type name.
public string Name { get; set; }
Patterns Property
List of extensions in GLOB format. I.e. ".png" or ".*".
public System.Collections.Generic.IReadOnlyList<string> Patterns { get; set; }
Remarks
Used on Windows, Linux and Browser platforms.