Metoda MeasureGroupAttributeCollection.Move (MeasureGroupAttribute, Int32)
Przesuwa MeasureGroupAttribute do nowego indeksu kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Sub Move ( _
item As MeasureGroupAttribute, _
toIndex As Integer _
)
'Użycie
Dim instance As MeasureGroupAttributeCollection
Dim item As MeasureGroupAttribute
Dim toIndex As Integer
instance.Move(item, toIndex)
public void Move(
MeasureGroupAttribute item,
int toIndex
)
public:
void Move(
MeasureGroupAttribute^ item,
int toIndex
)
member Move :
item:MeasureGroupAttribute *
toIndex:int -> unit
public function Move(
item : MeasureGroupAttribute,
toIndex : int
)
Parametry
- item
Typ: Microsoft.AnalysisServices.MeasureGroupAttribute
MeasureGroupAttribute Do przenoszenia.
- toIndex
Typ: System.Int32
Indeks od zera do którego należy przenieść MeasureGroupAttribute określonych przez item.
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 istnieje kolekcja. |
Zobacz także