OssObject Class |
Namespace: Aliyun.OpenServices.OpenStorageService
The OssObject type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
释放Content。
|
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the OssObject and optionally releases the managed resources |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it 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 | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() | BucketName |
获取或设置Object所在Bucket的名称。
|
![]() | Content |
获取或设置Object内容的数据流。
|
![]() | Key |
获取或设置Object的Key。
|
![]() | Metadata |
获取Object的元数据。
|
在 OSS 中,用户的每个文件都是一个 Object,每个文件需小于 5G。 Object包含key、data和user meta。其中,key是Object 的名字; data是Object 的数据;user meta是用户对该object的描述。