RemoveAt 方法

Removes the DataItem at the specified index from the collection. This class cannot be inherited.

命名空间:  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 is less than zero.

-or-

index is equal to or greater than Count.