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