CubeAttributeCollection.Move メソッド (String, Int32)

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

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

構文

'宣言
Public Function Move ( _
    attributeId As String, _
    toIndex As Integer _
) As CubeAttribute
'使用
Dim instance As CubeAttributeCollection 
Dim attributeId As String 
Dim toIndex As Integer 
Dim returnValue As CubeAttribute 

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

パラメーター

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

戻り値

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

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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

関連項目

参照

CubeAttributeCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間