DriveClientDeleteFolder(File) Method
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 string DeleteFolder(
File folder
)
Public Function DeleteFolder (
folder As File
) As String
Dim instance As DriveClient
Dim folder As File
Dim returnValue As String
returnValue = instance.DeleteFolder(folder)
public:
String^ DeleteFolder(
File^ folder
)
member DeleteFolder :
folder : File -> string
No code example is currently available or this language may not be supported.
- folder File
-
A existing folder to delete.
String
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 = client.Authorize()
Dim folderToDelete As Global.Google.Apis.Drive.v3.Data.File = GetFolderById(" Folder Id. ")
Dim result As String = DeleteFFolder(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.