次の方法で共有


Move メソッド (Int32, Int32)

指定した現在のインデックスにある MeasureGroup を、コレクション内の指定した新しいインデックスに移動します。

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

構文

'宣言
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As MeasureGroup
'使用
Dim instance As MeasureGroupCollection
Dim fromIndex As Integer
Dim toIndex As Integer
Dim returnValue As MeasureGroup

returnValue = instance.Move(fromIndex, _
    toIndex)
public MeasureGroup Move(
    int fromIndex,
    int toIndex
)
public:
MeasureGroup^ Move(
    int fromIndex, 
    int toIndex
)
member Move : 
        fromIndex:int * 
        toIndex:int -> MeasureGroup 
public function Move(
    fromIndex : int, 
    toIndex : int
) : MeasureGroup

パラメーター

戻り値

型: Microsoft.AnalysisServices. . :: . .MeasureGroup
移動された MeasureGroup です。

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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

-または-

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