Click or drag to resize
OssObject Class
表示OSS中的Object。
Inheritance Hierarchy
SystemObject
  Aliyun.OpenServices.OpenStorageServiceOssObject

Namespace: Aliyun.OpenServices.OpenStorageService
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 1.0.5626.29242
Syntax
public class OssObject : IDisposable

The OssObject type exposes the following members.

Methods
  NameDescription
Public methodDispose
释放Content
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the OssObject and optionally releases the managed resources
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyBucketName
获取或设置Object所在Bucket的名称。
Public propertyContent
获取或设置Object内容的数据流。
Public propertyKey
获取或设置Object的Key。
Public propertyMetadata
获取Object的元数据。
Top
Remarks

在 OSS 中,用户的每个文件都是一个 Object,每个文件需小于 5G。 Object包含key、data和user meta。其中,key是Object 的名字; data是Object 的数据;user meta是用户对该object的描述。

See Also