Метод 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
)
Параметры
- index
Тип System. . :: . .Int32
The zero-based index of the DataItem to be removed.
Реализует интерфейс
Исключения
Исключение | Условие |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |