Share via


FileBase Class

Definition

A representation of a file and its content type.

public ref class FileBase abstract
public abstract class FileBase
type FileBase = class
Public MustInherit Class FileBase
Inheritance
FileBase
Derived

Constructors

FileBase(FileBase)

Initializes a new instance of the FileBase class from an existing instance.

Properties

ContentType

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

FileName

Gets or sets the filename for this file.

FullPath

Gets the full path and filename.

Methods

OpenReadAsync()

Opens a Stream to the corresponding file on the filesystem.

Applies to