Méthode RemoveAt
Removes the DataItem at the specified index from the collection. This class cannot be inherited.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Sub RemoveAt ( _
index As Integer _
)
'Utilisation
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
)
Paramètres
- index
Type : System. . :: . .Int32
The zero-based index of the DataItem to be removed.
Implémente
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |