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