Partager via


Méthode GetByLanguage

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function GetByLanguage ( _
    languageId As Integer _
) As AttributeTranslation
'Utilisation
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

Paramètres

Valeur de retour

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).