| IOssDoesObjectExist Method  | 
            Checks if the object exists
            
 
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntaxbool DoesObjectExist(
	string bucketName,
	string key
)
Function DoesObjectExist ( 
	bucketName As String,
	key As String
) As Boolean
bool DoesObjectExist(
	String^ bucketName, 
	String^ key
)
abstract DoesObjectExist : 
        bucketName : string * 
        key : string -> bool 
Parameters
- bucketName
 - Type: SystemString
Bucket name - key
 - Type: SystemString
Key 
Return Value
Type: 
Booleantrue:object exists;false:otherwise
See Also