IOssDoesObjectExist Method |
Namespace: Aliyun.OpenServices.OpenStorageServiceAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 1.0.5626.29242
Syntaxbool DoesObjectExist(
string bucketName,
string key
)
Function DoesObjectExist (
bucketName As String,
key As String
) As Boolean
Parameters
- bucketName
- Type: SystemString
Bucket的名称。 - key
- Type: SystemString
Key。
Return Value
Type:
Boolean如果存在则返回True,否则返回False。
See Also