Click or drag to resize
IOssModifyObjectMeta Method
修改文件的元数据

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
void ModifyObjectMeta(
	string bucketName,
	string key,
	ObjectMetadata newMeta,
	Nullable<long> partSize = null,
	string checkpointDir = null
)

Parameters

bucketName
Type: SystemString
Bucket的名称。
key
Type: SystemString
Key
newMeta
Type: Aliyun.OSSObjectMetadata
修改后的文件元数据
partSize (Optional)
Type: SystemNullableInt64
分片大小,如果用户不指定,则使用DefaultPartSize 如果用户指定的partSize小于PartSizeLowerLimit,这会调整到PartSizeLowerLimit
checkpointDir (Optional)
Type: SystemString
保存断点续传中间状态文件的目录,如果指定了,则具有断点续传功能,否则每次都会重新上传
See Also