Metoda TranslationCollection.Move (Int32, Int32)
Przesuwa Translation pod określonym indeksem bieżących do nowego indeksu określone kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function Move ( _
fromIndex As Integer, _
toIndex As Integer _
) As Translation
'Użycie
Dim instance As TranslationCollection
Dim fromIndex As Integer
Dim toIndex As Integer
Dim returnValue As Translation
returnValue = instance.Move(fromIndex, _
toIndex)
public Translation Move(
int fromIndex,
int toIndex
)
public:
Translation^ Move(
int fromIndex,
int toIndex
)
member Move :
fromIndex:int *
toIndex:int -> Translation
public function Move(
fromIndex : int,
toIndex : int
) : Translation
Parametry
- fromIndex
Typ: System.Int32
Indeks od zera Translation mają być przeniesione.
- toIndex
Typ: System.Int32
Indeks od zera do którego należy przenieść Translation określonych przez fromIndex.
Wartość zwracana
Typ: Microsoft.AnalysisServices.Translation
Translation Mają być przeniesione.
Wyjątki
Wyjątek | Warunek |
---|---|
ArgumentOutOfRangeException | fromIndexjest mniejszy od zera. - lub - fromIndexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. - lub - toIndexjest mniejszy od zera. - lub - toIndexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
Zobacz także