Share via


TranslationCollection.FindByLanguage Method

Indicates whether the collection contains a Translation with the specified language.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function FindByLanguage ( _
    language As Integer _
) As Translation
'Usage
Dim instance As TranslationCollection
Dim language As Integer
Dim returnValue As Translation

returnValue = instance.FindByLanguage(language)
public Translation FindByLanguage(
    int language
)
public:
Translation^ FindByLanguage(
    int language
)
member FindByLanguage : 
        language:int -> Translation 
public function FindByLanguage(
    language : int
) : Translation

Parameters

Return Value

Type: Microsoft.AnalysisServices.Translation
The Translation if found in the collection; otherwise, a null reference (Nothing in Visual Basic).