Share via


PerspectiveHierarchyCollection.Move Méthode

Définition

Surcharges

Move(PerspectiveHierarchy, Int32)

Déplace l’objet PerspectiveHierarchy spécifié à une nouvelle position dans la collection.

Move(Int32, Int32)

Déplace un objet PerspectiveHierarchy dans la collection de la position actuelle à une autre.

Move(String, Int32)

Déplace un objet PerspectiveHierarchy avec le HierarchyID spécifié à une nouvelle position dans la collection.

Move(PerspectiveHierarchy, Int32)

Déplace l’objet PerspectiveHierarchy spécifié à une nouvelle position dans la collection.

public void Move (Microsoft.AnalysisServices.PerspectiveHierarchy item, int toIndex);
override this.Move : Microsoft.AnalysisServices.PerspectiveHierarchy * int -> unit
Public Sub Move (item As PerspectiveHierarchy, toIndex As Integer)

Paramètres

item
PerspectiveHierarchy

Objet PerspectiveHierarchy à déplacer.

toIndex
Int32

Index de base zéro auquel déplacer l’objet PerspectiveHierarchy spécifié.

Exceptions

  • Le spécifié n’existe PerspectiveHierarchy pas dans la collection.
  • Le toIndex spécifié n’est pas une valeur valide (inférieure à zéro ou supérieure au nombre total d’éléments).

S’applique à

Move(Int32, Int32)

Déplace un objet PerspectiveHierarchy dans la collection de la position actuelle à une autre.

public Microsoft.AnalysisServices.PerspectiveHierarchy Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.PerspectiveHierarchy
Public Function Move (fromIndex As Integer, toIndex As Integer) As PerspectiveHierarchy

Paramètres

fromIndex
Int32

Index de base zéro de l’objet PerspectiveHierarchy à déplacer.

toIndex
Int32

Index de base zéro auquel déplacer l’objet PerspectiveHierarchy spécifié par fromIndex.

Retours

Objet PerspectiveHierarchy qui a été déplacé.

Exceptions

  • La valeur fromIndex spécifiée n’est pas une valeur valide (inférieure à zéro ou supérieure au nombre total d’éléments).
  • Le toIndex spécifié n’est pas une valeur valide (inférieure à zéro ou supérieure au nombre total d’éléments).

S’applique à

Move(String, Int32)

Déplace un objet PerspectiveHierarchy avec le HierarchyID spécifié à une nouvelle position dans la collection.

public Microsoft.AnalysisServices.PerspectiveHierarchy Move (string hierarchyId, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.PerspectiveHierarchy
Public Function Move (hierarchyId As String, toIndex As Integer) As PerspectiveHierarchy

Paramètres

hierarchyId
String

HierarchyID de l’objet PerspectiveHierarchy à déplacer.

toIndex
Int32

Index de base zéro auquel déplacer l’objet PerspectiveHierarchy spécifié par fromIndex.

Retours

Objet PerspectiveHierarchy qui a été déplacé.

Exceptions

  • hierarchyId n’est pas un HierarchyID valide pour un PerspectiveHierarchy dans la collection.
  • Le toIndex spécifié n’est pas une valeur valide (inférieure à zéro ou supérieure au nombre total d’éléments).

S’applique à