Metoda LevelCollection.Move (String, Int32)
Przesuwa Level z identyfikatorem określonego indeksu określone kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function Move ( _
id As String, _
toIndex As Integer _
) As Level
'Użycie
Dim instance As LevelCollection
Dim id As String
Dim toIndex As Integer
Dim returnValue As Level
returnValue = instance.Move(id, toIndex)
public Level Move(
string id,
int toIndex
)
public:
Level^ Move(
String^ id,
int toIndex
)
member Move :
id:string *
toIndex:int -> Level
public function Move(
id : String,
toIndex : int
) : Level
Parametry
- id
Typ: System.String
Identyfikator Level mają być przeniesione.
- toIndex
Typ: System.Int32
Indeks od zera do którego należy przenieść Level określonych przez id.
Wartość zwracana
Typ: Microsoft.AnalysisServices.Level
Level 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 - idnie jest zawarty kolekcja. |
Zobacz także