OssObject ClassAliyun Open Services SDK for .NET
表示OSS中的Object。
Inheritance Hierarchy

SystemObject
  Aliyun.OpenServices.OpenStorageServiceOssObject

Namespace: Aliyun.OpenServices.OpenStorageService
Assembly: Aliyun.OpenServices (in Aliyun.OpenServices.dll) Version: 1.0.5290.21916
Syntax

public class OssObject : IDisposable

The OssObject type exposes the following members.

Constructors

  NameDescription
Public methodOssObject
构造一个新的OssObject实例。
Top
Methods

  NameDescription
Public methodDispose
释放Content
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the OssObject and optionally releases the managed resources
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Protected methodMemberwiseClone
创建当前 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

Reference