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

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

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

構文

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

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

パラメーター

  • fromIndex
    型: System.Int32
    移動する Trace の 0 から始まるインデックスです。
  • toIndex
    型: System.Int32
    fromIndex で指定した Trace の移動先である、0 から始まるインデックスです。

戻り値

型: Microsoft.AnalysisServices.Trace
移動される Trace です。

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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

-または-

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

関連項目

参照

TraceCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間