Udostępnij przez


Metoda AggregationDesignCollection.Move (AggregationDesign, Int32)

Przesuwa AggregationDesign do nowego indeksu kolekcja.

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

Składnia

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

instance.Move(item, toIndex)
public void Move(
    AggregationDesign item,
    int toIndex
)
public:
void Move(
    AggregationDesign^ item, 
    int toIndex
)
member Move : 
        item:AggregationDesign * 
        toIndex:int -> unit 
public function Move(
    item : AggregationDesign, 
    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 -

itemnie jest zawarty kolekcja.