次の方法で共有


PerspectiveMeasureGroupCollection.Move メソッド (Int32, Int32)

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

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

構文

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

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

パラメーター

戻り値

型: Microsoft.AnalysisServices.PerspectiveMeasureGroup
移動する PerspectiveMeasureGroup です。

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

fromIndex に Count 以上の値が指定されています。

-または-

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

-または-

toIndex に Count 以上の値が指定されています。

関連項目

参照

PerspectiveMeasureGroupCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間