Delen via


PerspectiveAttributeCollection.Add Method (PerspectiveAttribute)

Adds a PerspectiveAttribute to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As PerspectiveAttribute _
) As Integer
'Usage
Dim instance As PerspectiveAttributeCollection 
Dim item As PerspectiveAttribute 
Dim returnValue As Integer 

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

Parameters

Return Value

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

See Also

Reference

PerspectiveAttributeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace