次の方法で共有


AggregationDesignAttributeCollection.Move メソッド (AggregationDesignAttribute, Int32)

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

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

構文

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

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

パラメーター

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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

関連項目

参照

AggregationDesignAttributeCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間