Udostępnij za pośrednictwem


ReadOnlyFile Constructors

Definition

Overloads

ReadOnlyFile(String)

Construct a file taking in file path.

ReadOnlyFile(FileBase)

Construct a file taking in file.

ReadOnlyFile(String, String)

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

ReadOnlyFile(String)

Construct a file taking in file path.

public ReadOnlyFile (string fullPath);

Parameters

fullPath
System.String

Full file path.

Applies to

ReadOnlyFile(FileBase)

Construct a file taking in file.

public ReadOnlyFile (Xamarin.Essentials.FileBase file);

Parameters

file
FileBase

File to use for ReadOnlyFile

Applies to

ReadOnlyFile(String, String)

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

public ReadOnlyFile (string fullPath, string contentType);

Parameters

fullPath
System.String

Full file path.

contentType
System.String

Content type (MIME type) of the file (eg: image/png).

Applies to