次の方法で共有


Move メソッド (String, Int32)

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

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

構文

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

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

パラメーター

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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