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.