Click or drag to resize
OssClientDoesObjectExist 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
public 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

Implements

IOssDoesObjectExist(String, String)
See Also