| ObjectMetadata Class |
包含了用户自定义的元数据,也包含了OSS发送的标准HTTP头(如Content-Length, ETag等)。
Namespace: Aliyun.OSS
The ObjectMetadata type exposes the following members.
| Name | Description | |
|---|---|---|
| ObjectMetadata |
初始化一个新的ObjectMetadata实例。
|
| Name | Description | |
|---|---|---|
| AddHeader |
增加HTTP header信息
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Aes256ServerSideEncryption |
256位的Aes加密算法
|
| Name | Description | |
|---|---|---|
| CacheControl |
获取或设置Cache-Control请求头,表示用户指定的HTTP请求/回复链的缓存行为。
| |
| ContentDisposition |
获取Content-Disposition请求头,表示MIME用户代理如何显示附加的文件。
| |
| ContentEncoding |
获取或设置Content-Encoding请求头,表示Object内容的编码方式。
| |
| ContentLength |
获取Content-Length请求头,表示Object内容的大小。
| |
| ContentMd5 |
获取或设置一个值表示与Object相关的hex编码的128位MD5摘要。
| |
| ContentType |
获取或设置Content-Type请求头,表示Object内容的类型,为标准的MIME类型。
| |
| ETag |
获取或者设置ETAG值,如果要设置Content-Md5值,请使用Content-Md5属性。
| |
| ExpirationTime |
获取Expires请求头,表示Object的过期时间。
| |
| HttpMetadata |
获取HTTP标准属性(HTTP Headers)。
| |
| LastModified |
获取Last-Modified请求头的值,表示Object最后一次修改的时间。
| |
| ObjectType |
获取文件类型[Normal/Appendable]
| |
| ServerSideEncryption |
获取和设置服务器端加密算法
| |
| UserMetadata |
获取用户自定义的元数据。
|