IOssDoesObjectExist Method |
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
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的名称。 - key
- Type: SystemString
Key。
Return Value
Type:
Boolean如果存在则返回True,否则返回False。
See Also