Sdílet prostřednictvím


TranslationCollection.Add Method (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 (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    language As Integer, _
    caption As String _
) As Translation
'Usage
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

Parameters

Return Value

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