DriveClientDeleteFile(File) Method
Permanently deletes a existing file 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 DeleteFile(
File file
)
Public Function DeleteFile (
file As File
) As String
Dim instance As DriveClient
Dim file As File
Dim returnValue As String
returnValue = instance.DeleteFile(file)
public:
String^ DeleteFile(
File^ file
)
member DeleteFile :
file : File -> string
No code example is currently available or this language may not be supported.
- file File
-
A existing file 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 fileToDelete As Global.Google.Apis.Drive.v3.Data.File = GetFileById(" File Id. ")
Dim result As String = DeleteFile(fileToDelete)
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.