Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FileProperties 类

定义

表示文件的系统属性。

public sealed class FileProperties
type FileProperties = class
Public NotInheritable Class FileProperties
继承
FileProperties

构造函数

FileProperties()

初始化 FileProperties 类的新实例。

FileProperties(FileProperties)

基于现有实例初始化 FileProperties 类的新实例。

属性

CacheControl

获取或设置针对文件存储的 cache-control 值。

ChangeTime

DateTimeOffset上次更改文件的时间。 只读。

ContentDisposition

获取或设置针对文件存储的 content-disposition 值。

ContentEncoding

获取或设置针对文件存储的 content-encoding 值。

ContentLanguage

获取或设置针对文件存储的 content-language 值。

ContentMD5

获取或设置针对文件存储的 content-MD5 值。

ContentType

获取或设置针对文件存储的 content-type 值。

CreationTime

获取或设置 DateTimeOffset 创建文件时的 。

ETag

获取文件的 ETag 值。

FileId

文件 ID。只读。

FilePermissionKey

获取或设置文件的文件权限密钥。

IsServerEncrypted

获取文件的服务器端加密状态。

LastModified

获取文件的上次修改时间(表示为 UTC 值)。

LastWriteTime

获取或设置 DateTimeOffset 上次写入文件时的 。

Length

获取文件的大小(以字节为单位)。

NtfsAttributes

获取或设置文件和目录的文件系统属性。

ParentId

此文件的父级的 ID。 仅就绪。

适用于