public Task<string> TranslateHtmlAsync(
string html,
GoogleLanguage from,
GoogleLanguage to
)
Public Function TranslateHtmlAsync (
html As String,
from As GoogleLanguage,
to As GoogleLanguage
) As Task(Of String)
Dim instance As TranslateClient
Dim html As String
Dim from As GoogleLanguage
Dim to As GoogleLanguage
Dim returnValue As Task(Of String)
returnValue = instance.TranslateHtmlAsync(html,
from, to)
public:
Task<String^>^ TranslateHtmlAsync(
String^ html,
GoogleLanguage from,
GoogleLanguage to
)
member TranslateHtmlAsync :
html : 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.TranslateHtmlAsync(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 sourceHtml As String =
A Small Hello World Hi
This is very minimal "Hello world" HTML document.
.Value
Dim translatedHtml As String = Await client.TranslateHtmlAsync(sourceHtml, 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.