Partilhar via


Método TranslationCollection.Add (Int32, String)

Creates and adds a Translation, 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 Translation
'Uso
Dim instance As TranslationCollection 
Dim language As Integer 
Dim caption As String 
Dim returnValue As Translation 

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

Parâmetros

Valor de retorno

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

Consulte também

Referência

TranslationCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices