Dela via


TranslationCollection.GetByLanguage 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 GetByLanguage ( _
    language As Integer _
) As Translation
'Usage
Dim instance As TranslationCollection
Dim language As Integer
Dim returnValue As Translation

returnValue = instance.GetByLanguage(language)
public Translation GetByLanguage(
    int language
)
public:
Translation^ GetByLanguage(
    int language
)
member GetByLanguage : 
        language:int -> Translation 
public function GetByLanguage(
    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).