Removes the element at the specified index.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public virtual void RemoveAt( int index )
Public Overridable Sub RemoveAt ( index As Integer )
public: virtual void RemoveAt( int index )
abstract RemoveAt : index : int -> unit override RemoveAt : index : int -> unit
Parameters
- index
- Int32
The zero-based index of the element to remove.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | When index is less than zero or greater than size of the list. |