MeasureCollection.Move 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Move(Measure, Int32) |
将指定的 Measure 移动到集合中的新位置。 |
Move(Int32, Int32) |
将集合中的 Measure 从当前位置移动到新位置。 |
Move(String, Int32) |
将具有指定标识符的 Measure 移动到集合中的新位置。 |
Move(Measure, Int32)
Move(Int32, Int32)
将集合中的 Measure 从当前位置移动到新位置。
public Microsoft.AnalysisServices.Measure Move(int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.Measure
Public Function Move (fromIndex As Integer, toIndex As Integer) As Measure
参数
返回
已移动的 Measure。
例外
- 指定的 fromIndex 不是有效值, (小于零或更大,则) 元素总数。
- 指定的 toIndex 不是有效值, (小于零或更大,则) 元素总数。
适用于
Move(String, Int32)
将具有指定标识符的 Measure 移动到集合中的新位置。
public Microsoft.AnalysisServices.Measure Move(string id, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.Measure
Public Function Move (id As String, toIndex As Integer) As Measure
参数
返回
已移动的 Measure。
例外
- id 不是集合中的有效标识符 Measure 。
- 指定的 toIndex 不是有效值, (小于零或更大,则) 元素总数。