Add 方法 (String)

Creates and adds a PerspectiveAttribute, with the specified identifier, to the end of the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Add ( _
    attributeId As String _
) As PerspectiveAttribute
'用途
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

參數

傳回值

型別:Microsoft.AnalysisServices. . :: . .PerspectiveAttribute
The zero-based index at which the PerspectiveAttribute has been added.