Share via


PerspectiveAttributeCollection.Add Method (String)

Creates, adds to collection and returns a new PerspectiveAttribute.

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

Syntax

'Declaration
Public Function Add ( _
    attributeId As String _
) As PerspectiveAttribute
'Usage
Dim instance As PerspectiveAttributeCollection 
Dim attributeId As String 
Dim returnValue As PerspectiveAttribute 

returnValue = instance.Add(attributeId)
public PerspectiveAttribute Add(
    string attributeId
)
public:
PerspectiveAttribute^ Add(
    String^ attributeId
)
member Add : 
        attributeId:string -> PerspectiveAttribute
public function Add(
    attributeId : String
) : PerspectiveAttribute

Parameters

Return Value

Type: Microsoft.AnalysisServices.PerspectiveAttribute
The newly created PerspectiveAttribute.

See Also

Reference

PerspectiveAttributeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace