FileResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A representation of a file, as a result of a pick action by the user, and its content type.
public ref class FileResult : Microsoft::Maui::Storage::FileBase
public class FileResult : Microsoft.Maui.Storage.FileBase
type FileResult = class
inherit FileBase
Public Class FileResult
Inherits FileBase
- Inheritance
Constructors
FileResult(FileBase) |
Initializes a new instance of the FileResult class from an existing instance. |
FileResult(String, String) |
Initializes a new instance of the FileResult class from a file path, explicitly specifying the content type. |
FileResult(String) |
Initializes a new instance of the FileResult class from a file path. |
Properties
ContentType |
Gets or sets the file's content type as a MIME type (e.g.: |
FileName |
Gets or sets the filename for this file. (Inherited from FileBase) |
FullPath |
Gets the full path and filename. (Inherited from FileBase) |
Methods
OpenReadAsync() |
Opens a Stream to the corresponding file on the filesystem. (Inherited from FileBase) |