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