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