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