Udostępnij przez


Metoda AggregationInstanceDimensionCollection.Move (AggregationInstanceDimension, Int32)

Przenosi określony AggregationInstanceDimension do nowej pozycji indeksu kolekcja.

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

Składnia

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

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

Parametry

  • toIndex
    Typ: System.Int32
    Określa nową pozycję indeksu kolekcja.

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

Może pojawić się jeden z następujących komunikatów o błędach:

toIndexjest mniejszy od zera.

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

itemnie jest zawarty kolekcja.