Méthode PerspectiveAttributeCollection.Move (String, Int32)

Moves the PerspectiveAttribute that has the specified identifier to the specified index in the collection.

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

Syntaxe

VB
'Déclaration
Public Function Move ( _
    attributeId As String, _
    toIndex As Integer _
) As PerspectiveAttribute
'Utilisation
Dim instance As PerspectiveAttributeCollection 
Dim attributeId As String 
Dim toIndex As Integer 
Dim returnValue As PerspectiveAttribute 

returnValue = instance.Move(attributeId, _
    toIndex)

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices.PerspectiveAttribute
The PerspectiveAttribute to be moved.

Exceptions

Exception Condition
ArgumentOutOfRangeException

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

-or-

attributeID does not exist in the collection.

Voir aussi

Référence

PerspectiveAttributeCollection Classe

Surcharge Move

Espace de noms Microsoft.AnalysisServices