Метод TranslationCollection.Add (Int32, String)
Creates and adds a Translation, with the specified language and caption, to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
language As Integer, _
caption As String _
) As Translation
'Применение
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
Параметры
- language
Тип: System.Int32
The language of the Translation to be added.
- caption
Тип: System.String
The caption of the Translation to be added.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.Translation
A new, empty Translation.