DimensionCollection.Move 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Move(Dimension, Int32) |
將指定的 Dimension 移動到集合中的新位置。 |
Move(Int32, Int32) |
將集合中的 Dimension 從目前位置移動到新的位置。 |
Move(String, Int32) |
將具有指定識別碼的 Dimension 移動到集合中的新位置。 |
Move(Dimension, Int32)
Move(Int32, Int32)
將集合中的 Dimension 從目前位置移動到新的位置。
public Microsoft.AnalysisServices.Dimension Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.Dimension
Public Function Move (fromIndex As Integer, toIndex As Integer) As Dimension
參數
傳回
已移動的 Dimension。
例外狀況
- 指定的 fromIndex 不是有效值, (小於零或大於零,則) 的專案總數。
- 指定的 toIndex 不是有效的值, (小於零或更大,則) 的專案總數。
適用於
Move(String, Int32)
將具有指定識別碼的 Dimension 移動到集合中的新位置。
public Microsoft.AnalysisServices.Dimension Move (string id, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.Dimension
Public Function Move (id As String, toIndex As Integer) As Dimension
參數
傳回
已移動的 Dimension。
例外狀況
- id 不是集合中 之 的有效識別碼 Dimension 。
- 指定的 toIndex 不是有效的值, (小於零或更大,則) 的專案總數。