DriveClientDeleteFileAsync(String) Method
Asynchronously 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 Task<string> DeleteFileAsync(
string fileId
)
Public Function DeleteFileAsync (
fileId As String
) As Task(Of String)
Dim instance As DriveClient
Dim fileId As String
Dim returnValue As Task(Of String)
returnValue = instance.DeleteFileAsync(fileId)
public:
Task<String^>^ DeleteFileAsync(
String^ fileId
)
member DeleteFileAsync :
fileId : string -> Task<string>
No code example is currently available or this language may not be supported.
- fileId String
-
The identifier of the existing file 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 result As String = Await DeleteFileAsync(" 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.