Share via


LevelCollection.Add Method (Level)

Adds a Level to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Level _
) As Integer
'Usage
Dim instance As LevelCollection
Dim item As Level
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    Level item
)
public:
int Add(
    Level^ item
)
member Add : 
        item:Level -> int 
public function Add(
    item : Level
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the Level has been added.