Delen via


AttributeTranslationCollection.GetByLanguage Method

Indicates whether the collection contains an AttributeTranslation with the specified language.

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

Syntax

'Declaration
Public Function GetByLanguage ( _
    languageId As Integer _
) As AttributeTranslation
'Usage
Dim instance As AttributeTranslationCollection 
Dim languageId As Integer 
Dim returnValue As AttributeTranslation 

returnValue = instance.GetByLanguage(languageId)
public AttributeTranslation GetByLanguage(
    int languageId
)
public:
AttributeTranslation^ GetByLanguage(
    int languageId
)
member GetByLanguage : 
        languageId:int -> AttributeTranslation
public function GetByLanguage(
    languageId : int
) : AttributeTranslation

Parameters

Return Value

Type: Microsoft.AnalysisServices.AttributeTranslation
The AttributeTranslation, with the language specified by lcid, if found in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

Reference

AttributeTranslationCollection Class

Microsoft.AnalysisServices Namespace