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
- language
Tipo: System.Int32
The language of the Translation to be added.
- caption
Tipo: System.String
The caption of the Translation to be added.
Valor de retorno
Tipo: Microsoft.AnalysisServices.Translation
A new, empty Translation.