public Task<string> TranslateTextAsync(
string text,
GoogleLanguage from,
GoogleLanguage to
)
Public Function TranslateTextAsync (
text As String,
from As GoogleLanguage,
to As GoogleLanguage
) As Task(Of String)
Dim instance As TranslateClient
Dim text As String
Dim from As GoogleLanguage
Dim to As GoogleLanguage
Dim returnValue As Task(Of String)
returnValue = instance.TranslateTextAsync(text,
from, to)
public:
Task<String^>^ TranslateTextAsync(
String^ text,
GoogleLanguage from,
GoogleLanguage to
)
member TranslateTextAsync :
text : string *
from : GoogleLanguage *
to : GoogleLanguage -> Task<string>
No code example is currently available or this language may not be supported.
[Missing <param name="to"/> documentation for "M:DevCase.ThirdParty.Google.Translate.TranslateClient.TranslateTextAsync(System.String,DevCase.Core.Networking.GoogleServices.GoogleLanguage,DevCase.Core.Networking.GoogleServices.GoogleLanguage)"]
No code example is currently available or this language may not be supported.
Dim client As New TranslateClient("YOUR API KEY")
Dim authSuccess As Boolean = Await client.AuthorizeAsync()
Dim sourceText As String = "Hello World!"
Dim translatedText As String = Await client.TranslateTextAsync(sourceText, GoogleTranslateLanguage.EN, GoogleTranslateLanguage.ES)
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.