次の方法で共有


Move メソッド (String, Int32)

指定した識別子の Action を、コレクション内の指定したインデックスに移動します。

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

構文

'宣言
Public Function Move ( _
    id As String, _
    toIndex As Integer _
) As Action
'使用
Dim instance As ActionCollection
Dim id As String
Dim toIndex As Integer
Dim returnValue As Action

returnValue = instance.Move(id, toIndex)
public Action Move(
    string id,
    int toIndex
)
public:
Action^ Move(
    String^ id, 
    int toIndex
)
member Move : 
        id:string * 
        toIndex:int -> Action 
public function Move(
    id : String, 
    toIndex : int
) : Action

パラメーター

戻り値

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

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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