ReadOnlyFile Class

Definition

A representation of a file and its content type.

public class ReadOnlyFile : Xamarin.Essentials.FileBase
Inheritance
ReadOnlyFile

Remarks

Constructors

ReadOnlyFile(FileBase)

Construct a file taking in file.

ReadOnlyFile(String)

Construct a file taking in file path.

ReadOnlyFile(String, String)

Construct a file taking in file path and content type (MIME type).

Properties

ContentType

Gets or sets the file's content type as a MIME type (eg: image/png).

(Inherited from FileBase)
FileName (Inherited from FileBase)
FullPath

Gets the full path and filename.

(Inherited from FileBase)

Methods

OpenReadAsync() (Inherited from FileBase)

Applies to