C# Class Aliyun.OSS.ObjectMetadata

OSS中Object的元数据。

包含了用户自定义的元数据,也包含了OSS发送的标准HTTP头(如Content-Length, ETag等)。

Show file Open project: aliyun/aliyun-oss-csharp-sdk Class Usage Examples

Public Methods

Method Description
AddHeader ( string key, object value ) : void

增加HTTP header信息

ObjectMetadata ( ) : System

初始化一个新的ObjectMetadata实例。

Private Methods

Method Description
Populate ( string>.IDictionary requestHeaders ) : void

Populates the request header dictionary with the metdata and user metadata.

Method Details

AddHeader() public method

增加HTTP header信息
public AddHeader ( string key, object value ) : void
key string header元素的名称
value object header元素的值
return void

ObjectMetadata() public method

初始化一个新的ObjectMetadata实例。
public ObjectMetadata ( ) : System
return System