Partager via


Méthode Add (Int32, String)

Creates and adds a Translation, with the specified language and caption, to the end of the collection.

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

Syntaxe

'Déclaration
Public Function Add ( _
    language As Integer, _
    caption As String _
) As Translation
'Utilisation
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

Paramètres

Valeur de retour

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