共用方式為


Add 方法 (String)

Creates and adds an Account, with the specified identifier, to the end of the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Add ( _
    accountType As String _
) As Account
'用途
Dim instance As AccountCollection
Dim accountType As String
Dim returnValue As Account

returnValue = instance.Add(accountType)
public Account Add(
    string accountType
)
public:
Account^ Add(
    String^ accountType
)
member Add : 
        accountType:string -> Account 
public function Add(
    accountType : String
) : Account

參數

傳回值

型別:Microsoft.AnalysisServices. . :: . .Account
The zero-based index at which the Account has been added.