共用方式為


AttributeTranslationCollection.Add 方法 (Int32, String)

Creates and adds an AttributeTranslation, 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 AttributeTranslation
'用途
Dim instance As AttributeTranslationCollection 
Dim language As Integer 
Dim caption As String 
Dim returnValue As AttributeTranslation 

returnValue = instance.Add(language, caption)
public AttributeTranslation Add(
    int language,
    string caption
)
public:
AttributeTranslation^ Add(
    int language, 
    String^ caption
)
member Add : 
        language:int * 
        caption:string -> AttributeTranslation
public function Add(
    language : int, 
    caption : String
) : AttributeTranslation

參數

傳回值

型別:Microsoft.AnalysisServices.AttributeTranslation
A new, empty AttributeTranslation.

請參閱

參考

AttributeTranslationCollection 類別

Add 多載

Microsoft.AnalysisServices 命名空間