FileProperties Class

Definition

Represents the system properties for a file.

public sealed class FileProperties
type FileProperties = class
Public NotInheritable Class FileProperties
Inheritance
FileProperties

Constructors

FileProperties()

Initializes a new instance of the FileProperties class.

FileProperties(FileProperties)

Initializes a new instance of the FileProperties class based on an existing instance.

Properties

CacheControl

Gets or sets the cache-control value stored for the file.

ChangeTime

The DateTimeOffset when the File was last changed. Read only.

ContentDisposition

Gets or sets the content-disposition value stored for the file.

ContentEncoding

Gets or sets the content-encoding value stored for the file.

ContentLanguage

Gets or sets the content-language value stored for the file.

ContentMD5

Gets or sets the content-MD5 value stored for the file.

ContentType

Gets or sets the content-type value stored for the file.

CreationTime

Gets or sets the DateTimeOffset when the File was created.

ETag

Gets the file's ETag value.

FileId

The File Id. Read only.

FilePermissionKey

Gets or sets the file's File Permission Key.

IsServerEncrypted

Gets the file's server-side encryption state.

LastModified

Gets the the last-modified time for the file, expressed as a UTC value.

LastWriteTime

Gets or sets the DateTimeOffset when the File was last written to.

Length

Gets the size of the file, in bytes.

NtfsAttributes

Get or sets the file system attributes for files and directories.

ParentId

The Id of this file's parent. Ready only.

Applies to