public string TranslateText(
string text,
GoogleLanguage from,
GoogleLanguage to
)
Public Function TranslateText (
text As String,
from As GoogleLanguage,
to As GoogleLanguage
) As String
Dim instance As TranslateClient
Dim text As String
Dim from As GoogleLanguage
Dim to As GoogleLanguage
Dim returnValue As String
returnValue = instance.TranslateText(text,
from, to)
public:
String^ TranslateText(
String^ text,
GoogleLanguage from,
GoogleLanguage to
)
member TranslateText :
text : string *
from : GoogleLanguage *
to : GoogleLanguage -> 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.TranslateText(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 = client.Authorize()
Dim sourceText As String = "Hello World!"
Dim translatedText As String = client.TranslateText(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.