次の方法で共有


AggregationInstanceAttributeCollection.Move メソッド

定義

オーバーロード

Move(AggregationInstanceAttribute, Int32)

指定した AggregationInstanceAttribute をコレクション内の新しい位置に移動します。

Move(Int32, Int32)

AggregationInstanceAttribute をコレクション内の現在位置から新しい位置に移動します。

Move(String, Int32)

指定した AttributeID を持つ AggregationInstanceAttribute をコレクション内の新しい位置に移動します。

Move(AggregationInstanceAttribute, Int32)

指定した AggregationInstanceAttribute をコレクション内の新しい位置に移動します。

public void Move (Microsoft.AnalysisServices.AggregationInstanceAttribute item, int toIndex);
override this.Move : Microsoft.AnalysisServices.AggregationInstanceAttribute * int -> unit
Public Sub Move (item As AggregationInstanceAttribute, toIndex As Integer)

パラメーター

toIndex
Int32

指定した AggregationInstanceAttribute の移動先である、0 から始まるインデックスです。

例外

  • 指定された AggregationInstanceAttribute がコレクションに存在しません。
  • 指定された toIndex が有効な値ではありません (0 より小さいか、要素の合計数より大きい)。

適用対象

Move(Int32, Int32)

AggregationInstanceAttribute をコレクション内の現在位置から新しい位置に移動します。

public Microsoft.AnalysisServices.AggregationInstanceAttribute Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.AggregationInstanceAttribute
Public Function Move (fromIndex As Integer, toIndex As Integer) As AggregationInstanceAttribute

パラメーター

fromIndex
Int32

移動する AggregationInstanceAttribute の、0 から始まるインデックスです。

toIndex
Int32

fromIndex で指定した AggregationInstanceAttribute の移動先である、0 から始まるインデックスです。

戻り値

移動された AggregationInstanceAttribute です。

例外

  • 指定された fromIndex が有効な値ではありません (0 より小さいか、要素の合計数より大きい)。
  • 指定された toIndex が有効な値ではありません (0 より小さいか、要素の合計数より大きい)。

適用対象

Move(String, Int32)

指定した AttributeID を持つ AggregationInstanceAttribute をコレクション内の新しい位置に移動します。

public Microsoft.AnalysisServices.AggregationInstanceAttribute Move (string attributeId, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.AggregationInstanceAttribute
Public Function Move (attributeId As String, toIndex As Integer) As AggregationInstanceAttribute

パラメーター

attributeId
String

移動する AggregationInstanceAttribute の AttributeID です。

toIndex
Int32

fromIndex で指定した AggregationInstanceAttribute の移動先である、0 から始まるインデックスです。

戻り値

移動された AggregationInstanceAttribute です。

例外

  • attributeId は、コレクション内の に AggregationInstanceAttribute 対する有効な AttributeID ではありません。
  • 指定された toIndex が有効な値ではありません (0 より小さいか、要素の合計数より大きい)。

適用対象