| OssObject Class |
Namespace: Aliyun.OSS
The OssObject type exposes the following members.
| Name | Description | |
|---|---|---|
| Dispose |
Disposes of all managed and unmanaged resources.
(Inherited from StreamResult.) | |
| 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.) | |
| IsSetResponseStream |
Check to see if Body property is set
(Inherited from StreamResult.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| BucketName |
获取或设置Object所在Bucket的名称。
| |
| Content |
获取或设置Object内容的数据流。
| |
| ContentLength |
Returns the content length of the HTTP response.
(Inherited from GenericResult.) | |
| HttpStatusCode |
Returns the status code of the HTTP response.
(Inherited from GenericResult.) | |
| Key |
获取或设置Object的Key。
| |
| Metadata |
获取Object的元数据。
| |
| RequestId |
Gets and sets the RequestId property.
ID that uniquely identifies a request. Aliyun keeps track of request IDs. If you have a question about a request, include the request ID in your correspondence.
(Inherited from GenericResult.) | |
| ResponseMetadata |
Contains additional information about the request, such as the md5 value of the object.
(Inherited from GenericResult.) | |
| ResponseStream |
An open stream read from to get the data from OSS. In order to
use this stream without leaking the underlying resource, please
wrap access to the stream within a using block.
(Inherited from StreamResult.) |
在 OSS 中,用户的每个文件都是一个 Object,每个文件需小于 5G。 Object包含key、data和user meta。其中,key是Object 的名字; data是Object 的数据;user meta是用户对该object的描述。