次の方法で共有


Move メソッド (Cube, Int32)

Cube をコレクション内の新しいインデックスに移動します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Sub Move ( _
    item As Cube, _
    toIndex As Integer _
)
'使用
Dim instance As CubeCollection
Dim item As Cube
Dim toIndex As Integer

instance.Move(item, toIndex)
public void Move(
    Cube item,
    int toIndex
)
public:
void Move(
    Cube^ item, 
    int toIndex
)
member Move : 
        item:Cube * 
        toIndex:int -> unit 
public function Move(
    item : Cube, 
    toIndex : int
)

パラメーター

  • toIndex
    型: System. . :: . .Int32
    item で指定した Cube の移動先である、0 から始まるインデックスです。

例外

例外 条件
ArgumentOutOfRangeException

toIndex に 0 より小さい値が指定されています。

-または-

toIndex に [H:Microsoft.AnalysisServices.ModelComponentCollection.Count] 以上の値が指定されています。

-または-

item がコレクションに含まれていません。