次の方法で共有


RemoveAt メソッド

指定したインデックスにある DataItem をコレクションから削除します。このクラスは継承できません。

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

構文

'宣言
Public Sub RemoveAt ( _
    index As Integer _
)
'使用
Dim instance As DataItemCollection
Dim index As Integer

instance.RemoveAt(index)
public void RemoveAt(
    int index
)
public:
virtual void RemoveAt(
    int index
) sealed
abstract RemoveAt : 
        index:int -> unit 
override RemoveAt : 
        index:int -> unit 
public final function RemoveAt(
    index : int
)

パラメーター

実装

IList. . :: . .RemoveAt(Int32)

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

index に Count 以上の値が指定されています。