IOssPutObject Method (Uri, String, ObjectMetadata) |
Uploads the file via the signed url with the metadata.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax PutObjectResult PutObject(
Uri signedUrl,
string fileToUpload,
ObjectMetadata metadata
)
Function PutObject (
signedUrl As Uri,
fileToUpload As String,
metadata As ObjectMetadata
) As PutObjectResult
PutObjectResult^ PutObject(
Uri^ signedUrl,
String^ fileToUpload,
ObjectMetadata^ metadata
)
abstract PutObject :
signedUrl : Uri *
fileToUpload : string *
metadata : ObjectMetadata -> PutObjectResult
Parameters
- signedUrl
- Type: SystemUri
The signed url - fileToUpload
- Type: SystemString
Local file path - metadata
- Type: Aliyun.OSSObjectMetadata
OssObject metadata
Return Value
Type:
PutObjectResultPutObjectResult instance
See Also