OssClientPutObject 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 public PutObjectResult PutObject(
Uri signedUrl,
string fileToUpload,
ObjectMetadata metadata
)
Public Function PutObject (
signedUrl As Uri,
fileToUpload As String,
metadata As ObjectMetadata
) As PutObjectResult
public:
virtual PutObjectResult^ PutObject(
Uri^ signedUrl,
String^ fileToUpload,
ObjectMetadata^ metadata
) sealed
abstract PutObject :
signedUrl : Uri *
fileToUpload : string *
metadata : ObjectMetadata -> PutObjectResult
override 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
Implements
IOssPutObject(Uri, String, ObjectMetadata)See Also