次の方法で共有


Move メソッド (CubeDimension, Int32)

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

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

構文

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

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

パラメーター

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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