DriveClientDeleteFile(String) 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(
string fileId
)
Public Function DeleteFile (
fileId As String
) As String
Dim instance As DriveClient
Dim fileId As String
Dim returnValue As String
returnValue = instance.DeleteFile(fileId)
public:
String^ DeleteFile(
String^ fileId
)
member DeleteFile :
fileId : string -> string
No code example is currently available or this language may not be supported.
- fileId String
-
The identifier of the 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 result As String = DeleteFile(" Existing File Id. ")
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.