Click or drag to resize
IOssDoesObjectExist Method
Checks if the object exists

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
bool DoesObjectExist(
	string bucketName,
	string key
)

Parameters

bucketName
Type: SystemString
Bucket name
key
Type: SystemString
Key

Return Value

Type: Boolean
true:object exists;false:otherwise
See Also