OssClientModifyObjectMeta Method |
Modify the object metadata.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax public void ModifyObjectMeta(
string bucketName,
string key,
ObjectMetadata newMeta,
Nullable<long> partSize = null,
string checkpointDir = null
)
Public Sub ModifyObjectMeta (
bucketName As String,
key As String,
newMeta As ObjectMetadata,
Optional partSize As Nullable(Of Long) = Nothing,
Optional checkpointDir As String = Nothing
)
public:
virtual void ModifyObjectMeta(
String^ bucketName,
String^ key,
ObjectMetadata^ newMeta,
Nullable<long long> partSize = nullptr,
String^ checkpointDir = nullptr
) sealed
abstract ModifyObjectMeta :
bucketName : string *
key : string *
newMeta : ObjectMetadata *
?partSize : Nullable<int64> *
?checkpointDir : string
(* Defaults:
let _partSize = defaultArg partSize null
let _checkpointDir = defaultArg checkpointDir null
*)
-> unit
override ModifyObjectMeta :
bucketName : string *
key : string *
newMeta : ObjectMetadata *
?partSize : Nullable<int64> *
?checkpointDir : string
(* Defaults:
let _partSize = defaultArg partSize null
let _checkpointDir = defaultArg checkpointDir null
*)
-> unit
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Key - newMeta
- Type: Aliyun.OSSObjectMetadata
new metadata - partSize (Optional)
- Type: SystemNullableInt64
Part size, it's no less than DefaultPartSize - checkpointDir (Optional)
- Type: SystemString
check point folder. It must be specified to store the checkpoint information
Implements
IOssModifyObjectMeta(String, String, ObjectMetadata, NullableInt64, String)See Also