Metoda AggregationDesignAttributeCollection.Move (Int32, Int32)
Przesuwa AggregationDesignAttribute, na bieżący określonego indeksu 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 AggregationDesignAttribute
'Użycie
Dim instance As AggregationDesignAttributeCollection
Dim fromIndex As Integer
Dim toIndex As Integer
Dim returnValue As AggregationDesignAttribute
returnValue = instance.Move(fromIndex, _
toIndex)
public AggregationDesignAttribute Move(
int fromIndex,
int toIndex
)
public:
AggregationDesignAttribute^ Move(
int fromIndex,
int toIndex
)
member Move :
fromIndex:int *
toIndex:int -> AggregationDesignAttribute
public function Move(
fromIndex : int,
toIndex : int
) : AggregationDesignAttribute
Parametry
- fromIndex
Typ: System.Int32
Indeks od zera AggregationDesignAttribute mają być przeniesione.
- toIndex
Typ: System.Int32
Indeks od zera do którego należy przenieść AggregationDesignAttribute określonych przez fromIndex.
Wartość zwracana
Typ: Microsoft.AnalysisServices.AggregationDesignAttribute
AggregationDesignAttribute 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]. |