ModelComponentCollection.IList.Add Method

Adds an item to the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Private Function Add ( _
    value As Object _
) As Integer Implements IList.Add
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.Int32
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.

Implements

IList.Add(Object)

See Also

Reference

ModelComponentCollection Class

Microsoft.AnalysisServices Namespace