Partager via


Add méthode (PerspectiveHierarchy)

Adds a PerspectiveHierarchy to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As PerspectiveHierarchy _
) As Integer
'Utilisation
Dim instance As PerspectiveHierarchyCollection
Dim item As PerspectiveHierarchy
Dim returnValue As Integer

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

Valeur de retour

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