Partilhar via


LanguageService.Detect Method

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.MicrosoftTranslationService
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim instance As LanguageService
Dim appId As String
Dim text As String
Dim returnValue As String

returnValue = instance.Detect(appId, text)

Syntax

'Declaration
<OperationContractAttribute(Action:="http://api.microsofttranslator.com/V2/LanguageService/Detect", ReplyAction:="http://api.microsofttranslator.com/V2/LanguageService/DetectResponse")> _
Function Detect ( _
    appId As String, _
    text As String _
) As String
[OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/Detect", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/DetectResponse")] 
string Detect (
    string appId,
    string text
)
[OperationContractAttribute(Action=L"http://api.microsofttranslator.com/V2/LanguageService/Detect", ReplyAction=L"http://api.microsofttranslator.com/V2/LanguageService/DetectResponse")] 
String^ Detect (
    String^ appId, 
    String^ text
)
/** @attribute OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/Detect", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/DetectResponse") */ 
String Detect (
    String appId, 
    String text
)
OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/Detect", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/DetectResponse") 
function Detect (
    appId : String, 
    text : String
) : String

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

LanguageService Interface
LanguageService Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.MicrosoftTranslationService Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.