sheshn1th / google-language-api-for-dotnet

Automatically exported from code.google.com/p/google-language-api-for-dotnet
0 stars 0 forks source link

Does not work in VB.NET #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Create a new VB.NET 2008 Windows project, add the reference, and add the
line: Google.API.Translate.Translator.Translate("hola",
Google.API.Translate.Language.Spanish, Google.API.Translate.Language.English)

What is the expected output? What do you see instead?
I expect the word "hello" returned, but instead I see a compiler error.

What version of the product are you using? On what operating system?
Visual Studio .NET 2008 - VB.NET Windows Project - Windows XP

Please provide any additional information below.
I tried this in a C# project and it worked great.  The translate() function
is not accessible in VB.NET however.  When I use the exact same call as I
did in C#, I am told: 'Translate' is ambiguous because multiple kinds of
members with this name exist in class 'Google.API.Translate.Translator'.    

Original issue reported on code.google.com by brandonk...@gmail.com on 10 Jun 2008 at 4:24

GoogleCodeExporter commented 8 years ago
I guess wrap it in C#

Original comment by zanate8...@gmail.com on 25 Jul 2008 at 9:57

GoogleCodeExporter commented 8 years ago
Use the new version of translate api in Google APIs for
.NET(http://code.google.com/p/google-api-for-dotnet/)

It's support all .NET language.

Original comment by iron9li...@gmail.com on 15 Aug 2008 at 7:34