Partager via


Research.SetLanguagePair Method

Sets the languages for the translation service.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function SetLanguagePair ( _
    LanguageFrom As Integer, _
    LanguageTo As Integer _
) As Object
'Usage
Dim instance As Research
Dim LanguageFrom As Integer
Dim LanguageTo As Integer
Dim returnValue As Object

returnValue = instance.SetLanguagePair(LanguageFrom, _
    LanguageTo)
Object SetLanguagePair(
    int LanguageFrom,
    int LanguageTo
)

Parameters

  • LanguageFrom
    Type: System.Int32

    Required Integer Specifies the language to translate from.

  • LanguageTo
    Type: System.Int32

    Required Integer Specifies the langauge to translate to.

Return Value

Type: System.Object
Object

See Also

Reference

Research Interface

Research Members

Microsoft.Office.Interop.Excel Namespace