GoogleTranslateTranslate Method

Note: This API is now obsolete.
Use GoogleTranslate service to translate the specified text into another language.

Definition

Namespace: DevCase.Core.Networking.GoogleServices
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ObsoleteAttribute("Google free API is now limited to few searchs. Use the paid API instead.", 
	true)]
public static string Translate(
	string text,
	GoogleLanguage from,
	GoogleLanguage to
)

Parameters

text  String
The string to translate.
from  GoogleLanguage
The source language.
to  GoogleLanguage
The target language.

Return Value

String
The resulting translated text.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

ArgumentNullException text
InvalidEnumArgumentException from or to

See Also