共用方式為


IList.Add 方法

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

語法

'宣告
Private Function Add ( _
    value As Object _
) As Integer Implements IList.Add
'用途
Dim instance As ModelComponentCollection
Dim value As Object
Dim returnValue As Integer

returnValue = CType(instance, IList).Add(value)
int IList.Add(
    Object value
)
private:
virtual int Add(
    Object^ value
) sealed = IList::Add
private abstract Add : 
        value:Object -> int 
private override Add : 
        value:Object -> int 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

傳回值

型別:System. . :: . .Int32

實作

IList. . :: . .Add(Object)