StorageCollectionContainsAsync Method |
Checks the service if a StorageObject with the given ID exists in the collection.
Namespace: Oracle.Cloud.Mobile.StorageAssembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic Task<bool> ContainsAsync(
string objectId
)
Public Function ContainsAsync (
objectId As String
) As Task(Of Boolean)
public:
Task<bool>^ ContainsAsync(
String^ objectId
)
member ContainsAsync :
objectId : string -> Task<bool>
Parameters
- objectId
- Type: SystemString
The ID of the StorageObject to check.
Return Value
Type:
TaskBooleanTrue if the StorageCollection contains an object with the given ID, false otherwise.
See Also