次の方法で共有


MeasureGroupCollection.Move メソッド (MeasureGroup, Int32)

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

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

構文

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

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

パラメーター

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

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

item がコレクションに存在しません。

関連項目

参照

MeasureGroupCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間