SynchronizationEngineHostDoesFileExistAsync Method |
Method to check whether a file exists in a folder.
Namespace: Oracle.Cloud.Mobile.SynchronizationAssembly: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic abstract Task<bool> DoesFileExistAsync(
string parentPath,
string fileName
)
Public MustOverride Function DoesFileExistAsync (
parentPath As String,
fileName As String
) As Task(Of Boolean)
public:
virtual Task<bool>^ DoesFileExistAsync(
String^ parentPath,
String^ fileName
) abstract
abstract DoesFileExistAsync :
parentPath : string *
fileName : string -> Task<bool>
Parameters
- parentPath
- Type: SystemString
The path to the parent folder. - fileName
- Type: SystemString
The name of the file.
Return Value
Type:
TaskBooleanTrue if the file exists.
See Also