Compartilhar via


Método AttributeTranslationCollection.Add (Int32, String)

Creates and adds an AttributeTranslation, with the specified language and caption, to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    language As Integer, _
    caption As String _
) As AttributeTranslation
'Uso
Dim instance As AttributeTranslationCollection 
Dim language As Integer 
Dim caption As String 
Dim returnValue As AttributeTranslation 

returnValue = instance.Add(language, caption)
public AttributeTranslation Add(
    int language,
    string caption
)
public:
AttributeTranslation^ Add(
    int language, 
    String^ caption
)
member Add : 
        language:int * 
        caption:string -> AttributeTranslation
public function Add(
    language : int, 
    caption : String
) : AttributeTranslation

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.AttributeTranslation
A new, empty AttributeTranslation.

Consulte também

Referência

AttributeTranslationCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices