Share via


MeasureCollection.Add Method (Measure)

Adds a Measure to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Measure _
) As Integer
'Usage
Dim instance As MeasureCollection
Dim item As Measure
Dim returnValue As Integer

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

Parameters

Return Value

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