PutObjectRequest Constructor (String, String, Stream, ObjectMetadata, Boolean) |
Puts the object result.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax public PutObjectRequest(
string bucketName,
string key,
Stream content,
ObjectMetadata metadata,
bool useChunkedEncoding
)
Public Sub New (
bucketName As String,
key As String,
content As Stream,
metadata As ObjectMetadata,
useChunkedEncoding As Boolean
)
public:
PutObjectRequest(
String^ bucketName,
String^ key,
Stream^ content,
ObjectMetadata^ metadata,
bool useChunkedEncoding
)
new :
bucketName : string *
key : string *
content : Stream *
metadata : ObjectMetadata *
useChunkedEncoding : bool -> PutObjectRequest
Parameters
- bucketName
- Type: SystemString
Bucket name. - key
- Type: SystemString
Key. - content
- Type: System.IOStream
Content. - metadata
- Type: Aliyun.OSSObjectMetadata
Metadata. - useChunkedEncoding
- Type: SystemBoolean
If set to true use chunked encoding.
See Also