Dela via


CubeAttributeCollection.Add Method (CubeAttribute)

Adds a CubeAttribute to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As CubeAttribute _
) As Integer
'Usage
Dim instance As CubeAttributeCollection
Dim item As CubeAttribute
Dim returnValue As Integer

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

Parameters

Return Value

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