DriveClientDeleteFolderAsync(File) Method
Asynchronously permanently deletes a existing folder (including all its files inside) from the Google Drive of the user account.
Namespace: DevCase.ThirdParty.Google.DriveAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Task<string> DeleteFolderAsync(
File folder
)
Public Function DeleteFolderAsync (
folder As File
) As Task(Of String)
Dim instance As DriveClient
Dim folder As File
Dim returnValue As Task(Of String)
returnValue = instance.DeleteFolderAsync(folder)
public:
Task<String^>^ DeleteFolderAsync(
File^ folder
)
member DeleteFolderAsync :
folder : File -> Task<string>
No code example is currently available or this language may not be supported.
- folder File
-
A existing folder to delete.
TaskString
The resulting
String.
This is a code example.
No code example is currently available or this language may not be supported.
Dim client As New DriveClient("C:\GoogleSecrets.json", "yourmail@gmail.com", DriveScopes.Full)
Dim credential As UserCredential = Await client.AuthorizeAsync()
Dim folderToDelete As Global.Google.Apis.Drive.v3.Data.File = Await GetFolderByIdAsync(" Folder Id. ")
Dim result As String = Await DeleteFolderAsync(folderToDelete)
Console.WriteLine(result)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.