Udostępnij za pośrednictwem


Metoda PerspectiveCalculationCollection.Move (PerspectiveCalculation, Int32)

Przesuwa PerspectiveCalculation do nowego indeksu kolekcja.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Sub Move ( _
    item As PerspectiveCalculation, _
    toIndex As Integer _
)
'Użycie
Dim instance As PerspectiveCalculationCollection
Dim item As PerspectiveCalculation
Dim toIndex As Integer

instance.Move(item, toIndex)
public void Move(
    PerspectiveCalculation item,
    int toIndex
)
public:
void Move(
    PerspectiveCalculation^ item, 
    int toIndex
)
member Move : 
        item:PerspectiveCalculation * 
        toIndex:int -> unit 
public function Move(
    item : PerspectiveCalculation, 
    toIndex : int
)

Parametry

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

toIndexjest mniejszy od zera.

- lub -

toIndexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

- lub -

itemdoesi nie istnieje kolekcja.