PutObjectRequest Constructor (String, String, Stream, ObjectMetadata) |
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
)
Public Sub New (
bucketName As String,
key As String,
content As Stream,
metadata As ObjectMetadata
)
public:
PutObjectRequest(
String^ bucketName,
String^ key,
Stream^ content,
ObjectMetadata^ metadata
)
new :
bucketName : string *
key : string *
content : Stream *
metadata : ObjectMetadata -> PutObjectRequest
Parameters
- bucketName
- Type: SystemString
bucket name - key
- Type: SystemString
object key - content
- Type: System.IOStream
content to upload - metadata
- Type: Aliyun.OSSObjectMetadata
metadata to set
See Also