IOssPutObject Method (String, String, Stream, ObjectMetadata) |
Uploads the content to object under the specified bucket and object key.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax PutObjectResult PutObject(
string bucketName,
string key,
Stream content,
ObjectMetadata metadata
)
Function PutObject (
bucketName As String,
key As String,
content As Stream,
metadata As ObjectMetadata
) As PutObjectResult
PutObjectResult^ PutObject(
String^ bucketName,
String^ key,
Stream^ content,
ObjectMetadata^ metadata
)
abstract PutObject :
bucketName : string *
key : string *
content : Stream *
metadata : ObjectMetadata -> PutObjectResult
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Key - content
- Type: System.IOStream
Content - metadata
- Type: Aliyun.OSSObjectMetadata
OssObject metadata
Return Value
Type:
PutObjectResultPutObjectResult instance
See Also