次の方法で共有


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

指定した AggregationInstanceDimension を、コレクション内のある位置から別の位置に移動します。

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

構文

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

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

パラメーター

  • fromIndex
    型: System.Int32
    コレクション内の以前のインデックス位置。
  • toIndex
    型: System.Int32
    コレクション内の新しいインデックス位置。

戻り値

型: Microsoft.AnalysisServices.AggregationInstanceDimension
コレクション内で移動した AggregationInstanceDimension です。

例外

例外 条件
ArgumentOutOfRangeException

次のいずれかのエラー メッセージが表示される場合があります。

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

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

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

関連項目

参照

AggregationInstanceDimensionCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間